@kl1/contracts 1.0.57 → 1.0.59
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 +70 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -7
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +385 -285
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +382 -285
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -6629,7 +6629,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6629
6629
|
url: z.ZodOptional<z.ZodString>;
|
6630
6630
|
previewUrl: z.ZodOptional<z.ZodString>;
|
6631
6631
|
imageSetId: z.ZodOptional<z.ZodString>;
|
6632
|
-
room: z.ZodObject<{
|
6632
|
+
room: z.ZodNullable<z.ZodObject<{
|
6633
|
+
id: z.ZodOptional<z.ZodString>;
|
6634
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
6635
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
6636
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6633
6637
|
lastMessage: z.ZodOptional<z.ZodString>;
|
6634
6638
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
6635
6639
|
closeAt: z.ZodOptional<z.ZodDate>;
|
@@ -6639,6 +6643,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6639
6643
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
6640
6644
|
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
6641
6645
|
platformContact: z.ZodOptional<z.ZodObject<{
|
6646
|
+
id: z.ZodString;
|
6647
|
+
createdAt: z.ZodString;
|
6648
|
+
updatedAt: z.ZodString;
|
6649
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
6642
6650
|
channelId: z.ZodString;
|
6643
6651
|
socialPlatformId: z.ZodString;
|
6644
6652
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -6660,6 +6668,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6660
6668
|
}>;
|
6661
6669
|
contact: z.ZodObject<{
|
6662
6670
|
id: z.ZodString;
|
6671
|
+
createdAt: z.ZodString;
|
6672
|
+
updatedAt: z.ZodString;
|
6673
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
6663
6674
|
name: z.ZodString;
|
6664
6675
|
address: z.ZodNullable<z.ZodString>;
|
6665
6676
|
channel: z.ZodNullable<z.ZodString>;
|
@@ -6685,7 +6696,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6685
6696
|
updatedAt: Date;
|
6686
6697
|
deletedAt: Date | null;
|
6687
6698
|
}>, "many">>;
|
6688
|
-
company: z.
|
6699
|
+
company: z.ZodOptional<z.ZodObject<Omit<{
|
6689
6700
|
id: z.ZodString;
|
6690
6701
|
createdAt: z.ZodDate;
|
6691
6702
|
updatedAt: z.ZodDate;
|
@@ -7211,16 +7222,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7211
7222
|
channel: string | null;
|
7212
7223
|
address: string | null;
|
7213
7224
|
name: string;
|
7214
|
-
|
7215
|
-
|
7216
|
-
|
7217
|
-
updatedAt: Date;
|
7218
|
-
deletedAt: Date | null;
|
7219
|
-
address?: string | null | undefined;
|
7220
|
-
name?: string | undefined;
|
7221
|
-
phone?: string | null | undefined;
|
7222
|
-
industry?: string | null | undefined;
|
7223
|
-
} | null;
|
7225
|
+
createdAt: string;
|
7226
|
+
updatedAt: string;
|
7227
|
+
deletedAt: string | null;
|
7224
7228
|
notes: string | null;
|
7225
7229
|
contactProfile: string | null;
|
7226
7230
|
socialProfileUrl: string | null;
|
@@ -7231,6 +7235,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7231
7235
|
updatedAt: Date;
|
7232
7236
|
deletedAt: Date | null;
|
7233
7237
|
}[] | undefined;
|
7238
|
+
company?: {
|
7239
|
+
id: string;
|
7240
|
+
createdAt: Date;
|
7241
|
+
updatedAt: Date;
|
7242
|
+
deletedAt: Date | null;
|
7243
|
+
address?: string | null | undefined;
|
7244
|
+
name?: string | undefined;
|
7245
|
+
phone?: string | null | undefined;
|
7246
|
+
industry?: string | null | undefined;
|
7247
|
+
} | undefined;
|
7234
7248
|
customFields?: {
|
7235
7249
|
id: string;
|
7236
7250
|
createdAt: Date;
|
@@ -7311,16 +7325,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7311
7325
|
channel: string | null;
|
7312
7326
|
address: string | null;
|
7313
7327
|
name: string;
|
7314
|
-
|
7315
|
-
|
7316
|
-
|
7317
|
-
updatedAt: Date;
|
7318
|
-
deletedAt: Date | null;
|
7319
|
-
address?: string | null | undefined;
|
7320
|
-
name?: string | undefined;
|
7321
|
-
phone?: string | null | undefined;
|
7322
|
-
industry?: string | null | undefined;
|
7323
|
-
} | null;
|
7328
|
+
createdAt: string;
|
7329
|
+
updatedAt: string;
|
7330
|
+
deletedAt: string | null;
|
7324
7331
|
notes: string | null;
|
7325
7332
|
contactProfile: string | null;
|
7326
7333
|
socialProfileUrl: string | null;
|
@@ -7331,6 +7338,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7331
7338
|
updatedAt: Date;
|
7332
7339
|
deletedAt: Date | null;
|
7333
7340
|
}[] | undefined;
|
7341
|
+
company?: {
|
7342
|
+
id: string;
|
7343
|
+
createdAt: Date;
|
7344
|
+
updatedAt: Date;
|
7345
|
+
deletedAt: Date | null;
|
7346
|
+
address?: string | null | undefined;
|
7347
|
+
name?: string | undefined;
|
7348
|
+
phone?: string | null | undefined;
|
7349
|
+
industry?: string | null | undefined;
|
7350
|
+
} | undefined;
|
7334
7351
|
customFields?: {
|
7335
7352
|
id: string;
|
7336
7353
|
createdAt: Date;
|
@@ -7409,28 +7426,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7409
7426
|
}>;
|
7410
7427
|
}, "strip", z.ZodTypeAny, {
|
7411
7428
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
7429
|
+
id: string;
|
7412
7430
|
metadata: {
|
7413
7431
|
id: string;
|
7414
7432
|
name: string;
|
7415
7433
|
picture?: string | undefined;
|
7416
7434
|
additionalCredentials?: any;
|
7417
7435
|
};
|
7436
|
+
createdAt: string;
|
7437
|
+
updatedAt: string;
|
7438
|
+
deletedAt: string | null;
|
7418
7439
|
channelId: string;
|
7419
7440
|
contact: {
|
7420
7441
|
id: string;
|
7421
7442
|
channel: string | null;
|
7422
7443
|
address: string | null;
|
7423
7444
|
name: string;
|
7424
|
-
|
7425
|
-
|
7426
|
-
|
7427
|
-
updatedAt: Date;
|
7428
|
-
deletedAt: Date | null;
|
7429
|
-
address?: string | null | undefined;
|
7430
|
-
name?: string | undefined;
|
7431
|
-
phone?: string | null | undefined;
|
7432
|
-
industry?: string | null | undefined;
|
7433
|
-
} | null;
|
7445
|
+
createdAt: string;
|
7446
|
+
updatedAt: string;
|
7447
|
+
deletedAt: string | null;
|
7434
7448
|
notes: string | null;
|
7435
7449
|
contactProfile: string | null;
|
7436
7450
|
socialProfileUrl: string | null;
|
@@ -7441,6 +7455,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7441
7455
|
updatedAt: Date;
|
7442
7456
|
deletedAt: Date | null;
|
7443
7457
|
}[] | undefined;
|
7458
|
+
company?: {
|
7459
|
+
id: string;
|
7460
|
+
createdAt: Date;
|
7461
|
+
updatedAt: Date;
|
7462
|
+
deletedAt: Date | null;
|
7463
|
+
address?: string | null | undefined;
|
7464
|
+
name?: string | undefined;
|
7465
|
+
phone?: string | null | undefined;
|
7466
|
+
industry?: string | null | undefined;
|
7467
|
+
} | undefined;
|
7444
7468
|
customFields?: {
|
7445
7469
|
id: string;
|
7446
7470
|
createdAt: Date;
|
@@ -7520,28 +7544,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7520
7544
|
socialPlatformId: string;
|
7521
7545
|
}, {
|
7522
7546
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
7547
|
+
id: string;
|
7523
7548
|
metadata: {
|
7524
7549
|
id: string;
|
7525
7550
|
name: string;
|
7526
7551
|
picture?: string | undefined;
|
7527
7552
|
additionalCredentials?: any;
|
7528
7553
|
};
|
7554
|
+
createdAt: string;
|
7555
|
+
updatedAt: string;
|
7556
|
+
deletedAt: string | null;
|
7529
7557
|
channelId: string;
|
7530
7558
|
contact: {
|
7531
7559
|
id: string;
|
7532
7560
|
channel: string | null;
|
7533
7561
|
address: string | null;
|
7534
7562
|
name: string;
|
7535
|
-
|
7536
|
-
|
7537
|
-
|
7538
|
-
updatedAt: Date;
|
7539
|
-
deletedAt: Date | null;
|
7540
|
-
address?: string | null | undefined;
|
7541
|
-
name?: string | undefined;
|
7542
|
-
phone?: string | null | undefined;
|
7543
|
-
industry?: string | null | undefined;
|
7544
|
-
} | null;
|
7563
|
+
createdAt: string;
|
7564
|
+
updatedAt: string;
|
7565
|
+
deletedAt: string | null;
|
7545
7566
|
notes: string | null;
|
7546
7567
|
contactProfile: string | null;
|
7547
7568
|
socialProfileUrl: string | null;
|
@@ -7552,6 +7573,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7552
7573
|
updatedAt: Date;
|
7553
7574
|
deletedAt: Date | null;
|
7554
7575
|
}[] | undefined;
|
7576
|
+
company?: {
|
7577
|
+
id: string;
|
7578
|
+
createdAt: Date;
|
7579
|
+
updatedAt: Date;
|
7580
|
+
deletedAt: Date | null;
|
7581
|
+
address?: string | null | undefined;
|
7582
|
+
name?: string | undefined;
|
7583
|
+
phone?: string | null | undefined;
|
7584
|
+
industry?: string | null | undefined;
|
7585
|
+
} | undefined;
|
7555
7586
|
customFields?: {
|
7556
7587
|
id: string;
|
7557
7588
|
createdAt: Date;
|
@@ -7630,19 +7661,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7630
7661
|
};
|
7631
7662
|
socialPlatformId: string;
|
7632
7663
|
}>>;
|
7633
|
-
actor: z.ZodOptional<z.ZodObject<{
|
7664
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
7634
7665
|
id: z.ZodString;
|
7635
|
-
createdAt: z.
|
7636
|
-
updatedAt: z.
|
7637
|
-
deletedAt: z.ZodNullable<z.
|
7666
|
+
createdAt: z.ZodString;
|
7667
|
+
updatedAt: z.ZodString;
|
7668
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
7638
7669
|
name: z.ZodString;
|
7639
7670
|
email: z.ZodString;
|
7640
|
-
emailVerifiedAt: z.
|
7671
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
7641
7672
|
password: z.ZodString;
|
7642
7673
|
address: z.ZodNullable<z.ZodString>;
|
7643
7674
|
phone: z.ZodNullable<z.ZodString>;
|
7644
7675
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
7645
|
-
roles: z.ZodArray<z.ZodObject<{
|
7676
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7646
7677
|
id: z.ZodString;
|
7647
7678
|
createdAt: z.ZodDate;
|
7648
7679
|
updatedAt: z.ZodDate;
|
@@ -7709,8 +7740,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7709
7740
|
systemName: string;
|
7710
7741
|
displayName: string;
|
7711
7742
|
}[];
|
7712
|
-
}>, "many"
|
7713
|
-
extension: z.ZodObject<{
|
7743
|
+
}>, "many">>;
|
7744
|
+
extension: z.ZodOptional<z.ZodObject<{
|
7714
7745
|
id: z.ZodString;
|
7715
7746
|
createdAt: z.ZodDate;
|
7716
7747
|
updatedAt: z.ZodDate;
|
@@ -7746,20 +7777,20 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7746
7777
|
extensionId: string | null;
|
7747
7778
|
extensionName: string;
|
7748
7779
|
telephonySignature: string | null;
|
7749
|
-
}
|
7780
|
+
}>>;
|
7750
7781
|
}, "strip", z.ZodTypeAny, {
|
7751
7782
|
id: string;
|
7752
7783
|
address: string | null;
|
7753
7784
|
name: string;
|
7754
7785
|
email: string;
|
7755
|
-
createdAt:
|
7756
|
-
updatedAt:
|
7757
|
-
deletedAt:
|
7758
|
-
emailVerifiedAt: Date | null;
|
7786
|
+
createdAt: string;
|
7787
|
+
updatedAt: string;
|
7788
|
+
deletedAt: string | null;
|
7759
7789
|
password: string;
|
7760
7790
|
phone: string | null;
|
7761
7791
|
notificationCount: number | null;
|
7762
|
-
|
7792
|
+
emailVerifiedAt?: Date | undefined;
|
7793
|
+
roles?: {
|
7763
7794
|
id: string;
|
7764
7795
|
description: string | null;
|
7765
7796
|
createdAt: Date;
|
@@ -7776,8 +7807,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7776
7807
|
systemName: string;
|
7777
7808
|
displayName: string;
|
7778
7809
|
}[];
|
7779
|
-
}[];
|
7780
|
-
extension
|
7810
|
+
}[] | undefined;
|
7811
|
+
extension?: {
|
7781
7812
|
id: string;
|
7782
7813
|
createdAt: Date;
|
7783
7814
|
updatedAt: Date;
|
@@ -7789,20 +7820,20 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7789
7820
|
extensionId: string | null;
|
7790
7821
|
extensionName: string;
|
7791
7822
|
telephonySignature: string | null;
|
7792
|
-
};
|
7823
|
+
} | undefined;
|
7793
7824
|
}, {
|
7794
7825
|
id: string;
|
7795
7826
|
address: string | null;
|
7796
7827
|
name: string;
|
7797
7828
|
email: string;
|
7798
|
-
createdAt:
|
7799
|
-
updatedAt:
|
7800
|
-
deletedAt:
|
7801
|
-
emailVerifiedAt: Date | null;
|
7829
|
+
createdAt: string;
|
7830
|
+
updatedAt: string;
|
7831
|
+
deletedAt: string | null;
|
7802
7832
|
password: string;
|
7803
7833
|
phone: string | null;
|
7804
7834
|
notificationCount: number | null;
|
7805
|
-
|
7835
|
+
emailVerifiedAt?: Date | undefined;
|
7836
|
+
roles?: {
|
7806
7837
|
id: string;
|
7807
7838
|
description: string | null;
|
7808
7839
|
createdAt: Date;
|
@@ -7819,8 +7850,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7819
7850
|
systemName: string;
|
7820
7851
|
displayName: string;
|
7821
7852
|
}[];
|
7822
|
-
}[];
|
7823
|
-
extension
|
7853
|
+
}[] | undefined;
|
7854
|
+
extension?: {
|
7824
7855
|
id: string;
|
7825
7856
|
createdAt: Date;
|
7826
7857
|
updatedAt: Date;
|
@@ -7832,21 +7863,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7832
7863
|
extensionId: string | null;
|
7833
7864
|
extensionName: string;
|
7834
7865
|
telephonySignature: string | null;
|
7835
|
-
};
|
7836
|
-
}
|
7837
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
7866
|
+
} | undefined;
|
7867
|
+
}>>>;
|
7868
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
7838
7869
|
id: z.ZodString;
|
7839
|
-
createdAt: z.
|
7840
|
-
updatedAt: z.
|
7841
|
-
deletedAt: z.ZodNullable<z.
|
7870
|
+
createdAt: z.ZodString;
|
7871
|
+
updatedAt: z.ZodString;
|
7872
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
7842
7873
|
name: z.ZodString;
|
7843
7874
|
email: z.ZodString;
|
7844
|
-
emailVerifiedAt: z.
|
7875
|
+
emailVerifiedAt: z.ZodOptional<z.ZodDate>;
|
7845
7876
|
password: z.ZodString;
|
7846
7877
|
address: z.ZodNullable<z.ZodString>;
|
7847
7878
|
phone: z.ZodNullable<z.ZodString>;
|
7848
7879
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
7849
|
-
roles: z.ZodArray<z.ZodObject<{
|
7880
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
7850
7881
|
id: z.ZodString;
|
7851
7882
|
createdAt: z.ZodDate;
|
7852
7883
|
updatedAt: z.ZodDate;
|
@@ -7913,8 +7944,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7913
7944
|
systemName: string;
|
7914
7945
|
displayName: string;
|
7915
7946
|
}[];
|
7916
|
-
}>, "many"
|
7917
|
-
extension: z.ZodObject<{
|
7947
|
+
}>, "many">>;
|
7948
|
+
extension: z.ZodOptional<z.ZodObject<{
|
7918
7949
|
id: z.ZodString;
|
7919
7950
|
createdAt: z.ZodDate;
|
7920
7951
|
updatedAt: z.ZodDate;
|
@@ -7950,20 +7981,20 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7950
7981
|
extensionId: string | null;
|
7951
7982
|
extensionName: string;
|
7952
7983
|
telephonySignature: string | null;
|
7953
|
-
}
|
7984
|
+
}>>;
|
7954
7985
|
}, "strip", z.ZodTypeAny, {
|
7955
7986
|
id: string;
|
7956
7987
|
address: string | null;
|
7957
7988
|
name: string;
|
7958
7989
|
email: string;
|
7959
|
-
createdAt:
|
7960
|
-
updatedAt:
|
7961
|
-
deletedAt:
|
7962
|
-
emailVerifiedAt: Date | null;
|
7990
|
+
createdAt: string;
|
7991
|
+
updatedAt: string;
|
7992
|
+
deletedAt: string | null;
|
7963
7993
|
password: string;
|
7964
7994
|
phone: string | null;
|
7965
7995
|
notificationCount: number | null;
|
7966
|
-
|
7996
|
+
emailVerifiedAt?: Date | undefined;
|
7997
|
+
roles?: {
|
7967
7998
|
id: string;
|
7968
7999
|
description: string | null;
|
7969
8000
|
createdAt: Date;
|
@@ -7980,8 +8011,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7980
8011
|
systemName: string;
|
7981
8012
|
displayName: string;
|
7982
8013
|
}[];
|
7983
|
-
}[];
|
7984
|
-
extension
|
8014
|
+
}[] | undefined;
|
8015
|
+
extension?: {
|
7985
8016
|
id: string;
|
7986
8017
|
createdAt: Date;
|
7987
8018
|
updatedAt: Date;
|
@@ -7993,20 +8024,20 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7993
8024
|
extensionId: string | null;
|
7994
8025
|
extensionName: string;
|
7995
8026
|
telephonySignature: string | null;
|
7996
|
-
};
|
8027
|
+
} | undefined;
|
7997
8028
|
}, {
|
7998
8029
|
id: string;
|
7999
8030
|
address: string | null;
|
8000
8031
|
name: string;
|
8001
8032
|
email: string;
|
8002
|
-
createdAt:
|
8003
|
-
updatedAt:
|
8004
|
-
deletedAt:
|
8005
|
-
emailVerifiedAt: Date | null;
|
8033
|
+
createdAt: string;
|
8034
|
+
updatedAt: string;
|
8035
|
+
deletedAt: string | null;
|
8006
8036
|
password: string;
|
8007
8037
|
phone: string | null;
|
8008
8038
|
notificationCount: number | null;
|
8009
|
-
|
8039
|
+
emailVerifiedAt?: Date | undefined;
|
8040
|
+
roles?: {
|
8010
8041
|
id: string;
|
8011
8042
|
description: string | null;
|
8012
8043
|
createdAt: Date;
|
@@ -8023,8 +8054,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8023
8054
|
systemName: string;
|
8024
8055
|
displayName: string;
|
8025
8056
|
}[];
|
8026
|
-
}[];
|
8027
|
-
extension
|
8057
|
+
}[] | undefined;
|
8058
|
+
extension?: {
|
8028
8059
|
id: string;
|
8029
8060
|
createdAt: Date;
|
8030
8061
|
updatedAt: Date;
|
@@ -8036,8 +8067,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8036
8067
|
extensionId: string | null;
|
8037
8068
|
extensionName: string;
|
8038
8069
|
telephonySignature: string | null;
|
8039
|
-
};
|
8040
|
-
}
|
8070
|
+
} | undefined;
|
8071
|
+
}>>>;
|
8041
8072
|
channel: z.ZodOptional<z.ZodObject<{
|
8042
8073
|
name: z.ZodString;
|
8043
8074
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -8272,6 +8303,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8272
8303
|
} | null;
|
8273
8304
|
}>>;
|
8274
8305
|
}, "strip", z.ZodTypeAny, {
|
8306
|
+
id?: string | undefined;
|
8307
|
+
createdAt?: string | undefined;
|
8308
|
+
updatedAt?: string | undefined;
|
8309
|
+
deletedAt?: string | null | undefined;
|
8275
8310
|
lastMessage?: string | undefined;
|
8276
8311
|
handleTime?: number | undefined;
|
8277
8312
|
closeAt?: Date | undefined;
|
@@ -8282,28 +8317,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8282
8317
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
8283
8318
|
platformContact?: {
|
8284
8319
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8320
|
+
id: string;
|
8285
8321
|
metadata: {
|
8286
8322
|
id: string;
|
8287
8323
|
name: string;
|
8288
8324
|
picture?: string | undefined;
|
8289
8325
|
additionalCredentials?: any;
|
8290
8326
|
};
|
8327
|
+
createdAt: string;
|
8328
|
+
updatedAt: string;
|
8329
|
+
deletedAt: string | null;
|
8291
8330
|
channelId: string;
|
8292
8331
|
contact: {
|
8293
8332
|
id: string;
|
8294
8333
|
channel: string | null;
|
8295
8334
|
address: string | null;
|
8296
8335
|
name: string;
|
8297
|
-
|
8298
|
-
|
8299
|
-
|
8300
|
-
updatedAt: Date;
|
8301
|
-
deletedAt: Date | null;
|
8302
|
-
address?: string | null | undefined;
|
8303
|
-
name?: string | undefined;
|
8304
|
-
phone?: string | null | undefined;
|
8305
|
-
industry?: string | null | undefined;
|
8306
|
-
} | null;
|
8336
|
+
createdAt: string;
|
8337
|
+
updatedAt: string;
|
8338
|
+
deletedAt: string | null;
|
8307
8339
|
notes: string | null;
|
8308
8340
|
contactProfile: string | null;
|
8309
8341
|
socialProfileUrl: string | null;
|
@@ -8314,6 +8346,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8314
8346
|
updatedAt: Date;
|
8315
8347
|
deletedAt: Date | null;
|
8316
8348
|
}[] | undefined;
|
8349
|
+
company?: {
|
8350
|
+
id: string;
|
8351
|
+
createdAt: Date;
|
8352
|
+
updatedAt: Date;
|
8353
|
+
deletedAt: Date | null;
|
8354
|
+
address?: string | null | undefined;
|
8355
|
+
name?: string | undefined;
|
8356
|
+
phone?: string | null | undefined;
|
8357
|
+
industry?: string | null | undefined;
|
8358
|
+
} | undefined;
|
8317
8359
|
customFields?: {
|
8318
8360
|
id: string;
|
8319
8361
|
createdAt: Date;
|
@@ -8397,14 +8439,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8397
8439
|
address: string | null;
|
8398
8440
|
name: string;
|
8399
8441
|
email: string;
|
8400
|
-
createdAt:
|
8401
|
-
updatedAt:
|
8402
|
-
deletedAt:
|
8403
|
-
emailVerifiedAt: Date | null;
|
8442
|
+
createdAt: string;
|
8443
|
+
updatedAt: string;
|
8444
|
+
deletedAt: string | null;
|
8404
8445
|
password: string;
|
8405
8446
|
phone: string | null;
|
8406
8447
|
notificationCount: number | null;
|
8407
|
-
|
8448
|
+
emailVerifiedAt?: Date | undefined;
|
8449
|
+
roles?: {
|
8408
8450
|
id: string;
|
8409
8451
|
description: string | null;
|
8410
8452
|
createdAt: Date;
|
@@ -8421,8 +8463,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8421
8463
|
systemName: string;
|
8422
8464
|
displayName: string;
|
8423
8465
|
}[];
|
8424
|
-
}[];
|
8425
|
-
extension
|
8466
|
+
}[] | undefined;
|
8467
|
+
extension?: {
|
8426
8468
|
id: string;
|
8427
8469
|
createdAt: Date;
|
8428
8470
|
updatedAt: Date;
|
@@ -8434,21 +8476,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8434
8476
|
extensionId: string | null;
|
8435
8477
|
extensionName: string;
|
8436
8478
|
telephonySignature: string | null;
|
8437
|
-
};
|
8438
|
-
} | undefined;
|
8479
|
+
} | undefined;
|
8480
|
+
} | null | undefined;
|
8439
8481
|
assignee?: {
|
8440
8482
|
id: string;
|
8441
8483
|
address: string | null;
|
8442
8484
|
name: string;
|
8443
8485
|
email: string;
|
8444
|
-
createdAt:
|
8445
|
-
updatedAt:
|
8446
|
-
deletedAt:
|
8447
|
-
emailVerifiedAt: Date | null;
|
8486
|
+
createdAt: string;
|
8487
|
+
updatedAt: string;
|
8488
|
+
deletedAt: string | null;
|
8448
8489
|
password: string;
|
8449
8490
|
phone: string | null;
|
8450
8491
|
notificationCount: number | null;
|
8451
|
-
|
8492
|
+
emailVerifiedAt?: Date | undefined;
|
8493
|
+
roles?: {
|
8452
8494
|
id: string;
|
8453
8495
|
description: string | null;
|
8454
8496
|
createdAt: Date;
|
@@ -8465,8 +8507,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8465
8507
|
systemName: string;
|
8466
8508
|
displayName: string;
|
8467
8509
|
}[];
|
8468
|
-
}[];
|
8469
|
-
extension
|
8510
|
+
}[] | undefined;
|
8511
|
+
extension?: {
|
8470
8512
|
id: string;
|
8471
8513
|
createdAt: Date;
|
8472
8514
|
updatedAt: Date;
|
@@ -8478,8 +8520,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8478
8520
|
extensionId: string | null;
|
8479
8521
|
extensionName: string;
|
8480
8522
|
telephonySignature: string | null;
|
8481
|
-
};
|
8482
|
-
} | undefined;
|
8523
|
+
} | undefined;
|
8524
|
+
} | null | undefined;
|
8483
8525
|
channel?: {
|
8484
8526
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8485
8527
|
name: string;
|
@@ -8538,6 +8580,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8538
8580
|
} | null;
|
8539
8581
|
} | undefined;
|
8540
8582
|
}, {
|
8583
|
+
id?: string | undefined;
|
8584
|
+
createdAt?: string | undefined;
|
8585
|
+
updatedAt?: string | undefined;
|
8586
|
+
deletedAt?: string | null | undefined;
|
8541
8587
|
lastMessage?: string | undefined;
|
8542
8588
|
handleTime?: number | undefined;
|
8543
8589
|
closeAt?: Date | undefined;
|
@@ -8548,28 +8594,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8548
8594
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
8549
8595
|
platformContact?: {
|
8550
8596
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8597
|
+
id: string;
|
8551
8598
|
metadata: {
|
8552
8599
|
id: string;
|
8553
8600
|
name: string;
|
8554
8601
|
picture?: string | undefined;
|
8555
8602
|
additionalCredentials?: any;
|
8556
8603
|
};
|
8604
|
+
createdAt: string;
|
8605
|
+
updatedAt: string;
|
8606
|
+
deletedAt: string | null;
|
8557
8607
|
channelId: string;
|
8558
8608
|
contact: {
|
8559
8609
|
id: string;
|
8560
8610
|
channel: string | null;
|
8561
8611
|
address: string | null;
|
8562
8612
|
name: string;
|
8563
|
-
|
8564
|
-
|
8565
|
-
|
8566
|
-
updatedAt: Date;
|
8567
|
-
deletedAt: Date | null;
|
8568
|
-
address?: string | null | undefined;
|
8569
|
-
name?: string | undefined;
|
8570
|
-
phone?: string | null | undefined;
|
8571
|
-
industry?: string | null | undefined;
|
8572
|
-
} | null;
|
8613
|
+
createdAt: string;
|
8614
|
+
updatedAt: string;
|
8615
|
+
deletedAt: string | null;
|
8573
8616
|
notes: string | null;
|
8574
8617
|
contactProfile: string | null;
|
8575
8618
|
socialProfileUrl: string | null;
|
@@ -8580,6 +8623,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8580
8623
|
updatedAt: Date;
|
8581
8624
|
deletedAt: Date | null;
|
8582
8625
|
}[] | undefined;
|
8626
|
+
company?: {
|
8627
|
+
id: string;
|
8628
|
+
createdAt: Date;
|
8629
|
+
updatedAt: Date;
|
8630
|
+
deletedAt: Date | null;
|
8631
|
+
address?: string | null | undefined;
|
8632
|
+
name?: string | undefined;
|
8633
|
+
phone?: string | null | undefined;
|
8634
|
+
industry?: string | null | undefined;
|
8635
|
+
} | undefined;
|
8583
8636
|
customFields?: {
|
8584
8637
|
id: string;
|
8585
8638
|
createdAt: Date;
|
@@ -8663,14 +8716,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8663
8716
|
address: string | null;
|
8664
8717
|
name: string;
|
8665
8718
|
email: string;
|
8666
|
-
createdAt:
|
8667
|
-
updatedAt:
|
8668
|
-
deletedAt:
|
8669
|
-
emailVerifiedAt: Date | null;
|
8719
|
+
createdAt: string;
|
8720
|
+
updatedAt: string;
|
8721
|
+
deletedAt: string | null;
|
8670
8722
|
password: string;
|
8671
8723
|
phone: string | null;
|
8672
8724
|
notificationCount: number | null;
|
8673
|
-
|
8725
|
+
emailVerifiedAt?: Date | undefined;
|
8726
|
+
roles?: {
|
8674
8727
|
id: string;
|
8675
8728
|
description: string | null;
|
8676
8729
|
createdAt: Date;
|
@@ -8687,8 +8740,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8687
8740
|
systemName: string;
|
8688
8741
|
displayName: string;
|
8689
8742
|
}[];
|
8690
|
-
}[];
|
8691
|
-
extension
|
8743
|
+
}[] | undefined;
|
8744
|
+
extension?: {
|
8692
8745
|
id: string;
|
8693
8746
|
createdAt: Date;
|
8694
8747
|
updatedAt: Date;
|
@@ -8700,21 +8753,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8700
8753
|
extensionId: string | null;
|
8701
8754
|
extensionName: string;
|
8702
8755
|
telephonySignature: string | null;
|
8703
|
-
};
|
8704
|
-
} | undefined;
|
8756
|
+
} | undefined;
|
8757
|
+
} | null | undefined;
|
8705
8758
|
assignee?: {
|
8706
8759
|
id: string;
|
8707
8760
|
address: string | null;
|
8708
8761
|
name: string;
|
8709
8762
|
email: string;
|
8710
|
-
createdAt:
|
8711
|
-
updatedAt:
|
8712
|
-
deletedAt:
|
8713
|
-
emailVerifiedAt: Date | null;
|
8763
|
+
createdAt: string;
|
8764
|
+
updatedAt: string;
|
8765
|
+
deletedAt: string | null;
|
8714
8766
|
password: string;
|
8715
8767
|
phone: string | null;
|
8716
8768
|
notificationCount: number | null;
|
8717
|
-
|
8769
|
+
emailVerifiedAt?: Date | undefined;
|
8770
|
+
roles?: {
|
8718
8771
|
id: string;
|
8719
8772
|
description: string | null;
|
8720
8773
|
createdAt: Date;
|
@@ -8731,8 +8784,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8731
8784
|
systemName: string;
|
8732
8785
|
displayName: string;
|
8733
8786
|
}[];
|
8734
|
-
}[];
|
8735
|
-
extension
|
8787
|
+
}[] | undefined;
|
8788
|
+
extension?: {
|
8736
8789
|
id: string;
|
8737
8790
|
createdAt: Date;
|
8738
8791
|
updatedAt: Date;
|
@@ -8744,8 +8797,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8744
8797
|
extensionId: string | null;
|
8745
8798
|
extensionName: string;
|
8746
8799
|
telephonySignature: string | null;
|
8747
|
-
};
|
8748
|
-
} | undefined;
|
8800
|
+
} | undefined;
|
8801
|
+
} | null | undefined;
|
8749
8802
|
channel?: {
|
8750
8803
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8751
8804
|
name: string;
|
@@ -8803,7 +8856,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8803
8856
|
note: string | null;
|
8804
8857
|
} | null;
|
8805
8858
|
} | undefined;
|
8806
|
-
}
|
8859
|
+
}>>;
|
8807
8860
|
upload: z.ZodOptional<z.ZodObject<{
|
8808
8861
|
bucketName: z.ZodNullable<z.ZodString>;
|
8809
8862
|
fileName: z.ZodNullable<z.ZodString>;
|
@@ -8838,7 +8891,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8838
8891
|
fileUrl?: string | undefined;
|
8839
8892
|
status?: string | undefined;
|
8840
8893
|
}>>;
|
8841
|
-
actor: z.ZodOptional<z.ZodObject<{
|
8894
|
+
actor: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8842
8895
|
id: z.ZodString;
|
8843
8896
|
createdAt: z.ZodDate;
|
8844
8897
|
updatedAt: z.ZodDate;
|
@@ -9041,8 +9094,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9041
9094
|
extensionName: string;
|
9042
9095
|
telephonySignature: string | null;
|
9043
9096
|
};
|
9044
|
-
}
|
9045
|
-
assignee: z.ZodOptional<z.ZodObject<{
|
9097
|
+
}>>>;
|
9098
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9046
9099
|
id: z.ZodString;
|
9047
9100
|
createdAt: z.ZodDate;
|
9048
9101
|
updatedAt: z.ZodDate;
|
@@ -9245,8 +9298,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9245
9298
|
extensionName: string;
|
9246
9299
|
telephonySignature: string | null;
|
9247
9300
|
};
|
9248
|
-
}
|
9249
|
-
sender: z.ZodOptional<z.ZodObject<{
|
9301
|
+
}>>>;
|
9302
|
+
sender: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9250
9303
|
id: z.ZodString;
|
9251
9304
|
createdAt: z.ZodDate;
|
9252
9305
|
updatedAt: z.ZodDate;
|
@@ -9449,7 +9502,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9449
9502
|
extensionName: string;
|
9450
9503
|
telephonySignature: string | null;
|
9451
9504
|
};
|
9452
|
-
}
|
9505
|
+
}>>>;
|
9453
9506
|
}, "strip", z.ZodTypeAny, {
|
9454
9507
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
9455
9508
|
id: string;
|
@@ -9459,6 +9512,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9459
9512
|
deletedAt: string | null;
|
9460
9513
|
platformId: string;
|
9461
9514
|
room: {
|
9515
|
+
id?: string | undefined;
|
9516
|
+
createdAt?: string | undefined;
|
9517
|
+
updatedAt?: string | undefined;
|
9518
|
+
deletedAt?: string | null | undefined;
|
9462
9519
|
lastMessage?: string | undefined;
|
9463
9520
|
handleTime?: number | undefined;
|
9464
9521
|
closeAt?: Date | undefined;
|
@@ -9469,28 +9526,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9469
9526
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
9470
9527
|
platformContact?: {
|
9471
9528
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
9529
|
+
id: string;
|
9472
9530
|
metadata: {
|
9473
9531
|
id: string;
|
9474
9532
|
name: string;
|
9475
9533
|
picture?: string | undefined;
|
9476
9534
|
additionalCredentials?: any;
|
9477
9535
|
};
|
9536
|
+
createdAt: string;
|
9537
|
+
updatedAt: string;
|
9538
|
+
deletedAt: string | null;
|
9478
9539
|
channelId: string;
|
9479
9540
|
contact: {
|
9480
9541
|
id: string;
|
9481
9542
|
channel: string | null;
|
9482
9543
|
address: string | null;
|
9483
9544
|
name: string;
|
9484
|
-
|
9485
|
-
|
9486
|
-
|
9487
|
-
updatedAt: Date;
|
9488
|
-
deletedAt: Date | null;
|
9489
|
-
address?: string | null | undefined;
|
9490
|
-
name?: string | undefined;
|
9491
|
-
phone?: string | null | undefined;
|
9492
|
-
industry?: string | null | undefined;
|
9493
|
-
} | null;
|
9545
|
+
createdAt: string;
|
9546
|
+
updatedAt: string;
|
9547
|
+
deletedAt: string | null;
|
9494
9548
|
notes: string | null;
|
9495
9549
|
contactProfile: string | null;
|
9496
9550
|
socialProfileUrl: string | null;
|
@@ -9501,6 +9555,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9501
9555
|
updatedAt: Date;
|
9502
9556
|
deletedAt: Date | null;
|
9503
9557
|
}[] | undefined;
|
9558
|
+
company?: {
|
9559
|
+
id: string;
|
9560
|
+
createdAt: Date;
|
9561
|
+
updatedAt: Date;
|
9562
|
+
deletedAt: Date | null;
|
9563
|
+
address?: string | null | undefined;
|
9564
|
+
name?: string | undefined;
|
9565
|
+
phone?: string | null | undefined;
|
9566
|
+
industry?: string | null | undefined;
|
9567
|
+
} | undefined;
|
9504
9568
|
customFields?: {
|
9505
9569
|
id: string;
|
9506
9570
|
createdAt: Date;
|
@@ -9584,14 +9648,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9584
9648
|
address: string | null;
|
9585
9649
|
name: string;
|
9586
9650
|
email: string;
|
9587
|
-
createdAt:
|
9588
|
-
updatedAt:
|
9589
|
-
deletedAt:
|
9590
|
-
emailVerifiedAt: Date | null;
|
9651
|
+
createdAt: string;
|
9652
|
+
updatedAt: string;
|
9653
|
+
deletedAt: string | null;
|
9591
9654
|
password: string;
|
9592
9655
|
phone: string | null;
|
9593
9656
|
notificationCount: number | null;
|
9594
|
-
|
9657
|
+
emailVerifiedAt?: Date | undefined;
|
9658
|
+
roles?: {
|
9595
9659
|
id: string;
|
9596
9660
|
description: string | null;
|
9597
9661
|
createdAt: Date;
|
@@ -9608,8 +9672,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9608
9672
|
systemName: string;
|
9609
9673
|
displayName: string;
|
9610
9674
|
}[];
|
9611
|
-
}[];
|
9612
|
-
extension
|
9675
|
+
}[] | undefined;
|
9676
|
+
extension?: {
|
9613
9677
|
id: string;
|
9614
9678
|
createdAt: Date;
|
9615
9679
|
updatedAt: Date;
|
@@ -9621,21 +9685,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9621
9685
|
extensionId: string | null;
|
9622
9686
|
extensionName: string;
|
9623
9687
|
telephonySignature: string | null;
|
9624
|
-
};
|
9625
|
-
} | undefined;
|
9688
|
+
} | undefined;
|
9689
|
+
} | null | undefined;
|
9626
9690
|
assignee?: {
|
9627
9691
|
id: string;
|
9628
9692
|
address: string | null;
|
9629
9693
|
name: string;
|
9630
9694
|
email: string;
|
9631
|
-
createdAt:
|
9632
|
-
updatedAt:
|
9633
|
-
deletedAt:
|
9634
|
-
emailVerifiedAt: Date | null;
|
9695
|
+
createdAt: string;
|
9696
|
+
updatedAt: string;
|
9697
|
+
deletedAt: string | null;
|
9635
9698
|
password: string;
|
9636
9699
|
phone: string | null;
|
9637
9700
|
notificationCount: number | null;
|
9638
|
-
|
9701
|
+
emailVerifiedAt?: Date | undefined;
|
9702
|
+
roles?: {
|
9639
9703
|
id: string;
|
9640
9704
|
description: string | null;
|
9641
9705
|
createdAt: Date;
|
@@ -9652,8 +9716,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9652
9716
|
systemName: string;
|
9653
9717
|
displayName: string;
|
9654
9718
|
}[];
|
9655
|
-
}[];
|
9656
|
-
extension
|
9719
|
+
}[] | undefined;
|
9720
|
+
extension?: {
|
9657
9721
|
id: string;
|
9658
9722
|
createdAt: Date;
|
9659
9723
|
updatedAt: Date;
|
@@ -9665,8 +9729,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9665
9729
|
extensionId: string | null;
|
9666
9730
|
extensionName: string;
|
9667
9731
|
telephonySignature: string | null;
|
9668
|
-
};
|
9669
|
-
} | undefined;
|
9732
|
+
} | undefined;
|
9733
|
+
} | null | undefined;
|
9670
9734
|
channel?: {
|
9671
9735
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
9672
9736
|
name: string;
|
@@ -9724,7 +9788,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9724
9788
|
note: string | null;
|
9725
9789
|
} | null;
|
9726
9790
|
} | undefined;
|
9727
|
-
};
|
9791
|
+
} | null;
|
9728
9792
|
platformMessageId: string;
|
9729
9793
|
locale: "" | "th" | "mm" | "en" | null;
|
9730
9794
|
message?: string | undefined;
|
@@ -9789,7 +9853,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9789
9853
|
extensionName: string;
|
9790
9854
|
telephonySignature: string | null;
|
9791
9855
|
};
|
9792
|
-
} | undefined;
|
9856
|
+
} | null | undefined;
|
9793
9857
|
assignee?: {
|
9794
9858
|
id: string;
|
9795
9859
|
address: string | null;
|
@@ -9833,7 +9897,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9833
9897
|
extensionName: string;
|
9834
9898
|
telephonySignature: string | null;
|
9835
9899
|
};
|
9836
|
-
} | undefined;
|
9900
|
+
} | null | undefined;
|
9837
9901
|
sender?: {
|
9838
9902
|
id: string;
|
9839
9903
|
address: string | null;
|
@@ -9877,7 +9941,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9877
9941
|
extensionName: string;
|
9878
9942
|
telephonySignature: string | null;
|
9879
9943
|
};
|
9880
|
-
} | undefined;
|
9944
|
+
} | null | undefined;
|
9881
9945
|
}, {
|
9882
9946
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
9883
9947
|
id: string;
|
@@ -9887,6 +9951,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9887
9951
|
deletedAt: string | null;
|
9888
9952
|
platformId: string;
|
9889
9953
|
room: {
|
9954
|
+
id?: string | undefined;
|
9955
|
+
createdAt?: string | undefined;
|
9956
|
+
updatedAt?: string | undefined;
|
9957
|
+
deletedAt?: string | null | undefined;
|
9890
9958
|
lastMessage?: string | undefined;
|
9891
9959
|
handleTime?: number | undefined;
|
9892
9960
|
closeAt?: Date | undefined;
|
@@ -9897,28 +9965,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9897
9965
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
9898
9966
|
platformContact?: {
|
9899
9967
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
9968
|
+
id: string;
|
9900
9969
|
metadata: {
|
9901
9970
|
id: string;
|
9902
9971
|
name: string;
|
9903
9972
|
picture?: string | undefined;
|
9904
9973
|
additionalCredentials?: any;
|
9905
9974
|
};
|
9975
|
+
createdAt: string;
|
9976
|
+
updatedAt: string;
|
9977
|
+
deletedAt: string | null;
|
9906
9978
|
channelId: string;
|
9907
9979
|
contact: {
|
9908
9980
|
id: string;
|
9909
9981
|
channel: string | null;
|
9910
9982
|
address: string | null;
|
9911
9983
|
name: string;
|
9912
|
-
|
9913
|
-
|
9914
|
-
|
9915
|
-
updatedAt: Date;
|
9916
|
-
deletedAt: Date | null;
|
9917
|
-
address?: string | null | undefined;
|
9918
|
-
name?: string | undefined;
|
9919
|
-
phone?: string | null | undefined;
|
9920
|
-
industry?: string | null | undefined;
|
9921
|
-
} | null;
|
9984
|
+
createdAt: string;
|
9985
|
+
updatedAt: string;
|
9986
|
+
deletedAt: string | null;
|
9922
9987
|
notes: string | null;
|
9923
9988
|
contactProfile: string | null;
|
9924
9989
|
socialProfileUrl: string | null;
|
@@ -9929,6 +9994,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9929
9994
|
updatedAt: Date;
|
9930
9995
|
deletedAt: Date | null;
|
9931
9996
|
}[] | undefined;
|
9997
|
+
company?: {
|
9998
|
+
id: string;
|
9999
|
+
createdAt: Date;
|
10000
|
+
updatedAt: Date;
|
10001
|
+
deletedAt: Date | null;
|
10002
|
+
address?: string | null | undefined;
|
10003
|
+
name?: string | undefined;
|
10004
|
+
phone?: string | null | undefined;
|
10005
|
+
industry?: string | null | undefined;
|
10006
|
+
} | undefined;
|
9932
10007
|
customFields?: {
|
9933
10008
|
id: string;
|
9934
10009
|
createdAt: Date;
|
@@ -10012,14 +10087,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10012
10087
|
address: string | null;
|
10013
10088
|
name: string;
|
10014
10089
|
email: string;
|
10015
|
-
createdAt:
|
10016
|
-
updatedAt:
|
10017
|
-
deletedAt:
|
10018
|
-
emailVerifiedAt: Date | null;
|
10090
|
+
createdAt: string;
|
10091
|
+
updatedAt: string;
|
10092
|
+
deletedAt: string | null;
|
10019
10093
|
password: string;
|
10020
10094
|
phone: string | null;
|
10021
10095
|
notificationCount: number | null;
|
10022
|
-
|
10096
|
+
emailVerifiedAt?: Date | undefined;
|
10097
|
+
roles?: {
|
10023
10098
|
id: string;
|
10024
10099
|
description: string | null;
|
10025
10100
|
createdAt: Date;
|
@@ -10036,8 +10111,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10036
10111
|
systemName: string;
|
10037
10112
|
displayName: string;
|
10038
10113
|
}[];
|
10039
|
-
}[];
|
10040
|
-
extension
|
10114
|
+
}[] | undefined;
|
10115
|
+
extension?: {
|
10041
10116
|
id: string;
|
10042
10117
|
createdAt: Date;
|
10043
10118
|
updatedAt: Date;
|
@@ -10049,21 +10124,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10049
10124
|
extensionId: string | null;
|
10050
10125
|
extensionName: string;
|
10051
10126
|
telephonySignature: string | null;
|
10052
|
-
};
|
10053
|
-
} | undefined;
|
10127
|
+
} | undefined;
|
10128
|
+
} | null | undefined;
|
10054
10129
|
assignee?: {
|
10055
10130
|
id: string;
|
10056
10131
|
address: string | null;
|
10057
10132
|
name: string;
|
10058
10133
|
email: string;
|
10059
|
-
createdAt:
|
10060
|
-
updatedAt:
|
10061
|
-
deletedAt:
|
10062
|
-
emailVerifiedAt: Date | null;
|
10134
|
+
createdAt: string;
|
10135
|
+
updatedAt: string;
|
10136
|
+
deletedAt: string | null;
|
10063
10137
|
password: string;
|
10064
10138
|
phone: string | null;
|
10065
10139
|
notificationCount: number | null;
|
10066
|
-
|
10140
|
+
emailVerifiedAt?: Date | undefined;
|
10141
|
+
roles?: {
|
10067
10142
|
id: string;
|
10068
10143
|
description: string | null;
|
10069
10144
|
createdAt: Date;
|
@@ -10080,8 +10155,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10080
10155
|
systemName: string;
|
10081
10156
|
displayName: string;
|
10082
10157
|
}[];
|
10083
|
-
}[];
|
10084
|
-
extension
|
10158
|
+
}[] | undefined;
|
10159
|
+
extension?: {
|
10085
10160
|
id: string;
|
10086
10161
|
createdAt: Date;
|
10087
10162
|
updatedAt: Date;
|
@@ -10093,8 +10168,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10093
10168
|
extensionId: string | null;
|
10094
10169
|
extensionName: string;
|
10095
10170
|
telephonySignature: string | null;
|
10096
|
-
};
|
10097
|
-
} | undefined;
|
10171
|
+
} | undefined;
|
10172
|
+
} | null | undefined;
|
10098
10173
|
channel?: {
|
10099
10174
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10100
10175
|
name: string;
|
@@ -10152,7 +10227,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10152
10227
|
note: string | null;
|
10153
10228
|
} | null;
|
10154
10229
|
} | undefined;
|
10155
|
-
};
|
10230
|
+
} | null;
|
10156
10231
|
platformMessageId: string;
|
10157
10232
|
locale: "" | "th" | "mm" | "en" | null;
|
10158
10233
|
message?: string | undefined;
|
@@ -10217,7 +10292,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10217
10292
|
extensionName: string;
|
10218
10293
|
telephonySignature: string | null;
|
10219
10294
|
};
|
10220
|
-
} | undefined;
|
10295
|
+
} | null | undefined;
|
10221
10296
|
assignee?: {
|
10222
10297
|
id: string;
|
10223
10298
|
address: string | null;
|
@@ -10261,7 +10336,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10261
10336
|
extensionName: string;
|
10262
10337
|
telephonySignature: string | null;
|
10263
10338
|
};
|
10264
|
-
} | undefined;
|
10339
|
+
} | null | undefined;
|
10265
10340
|
sender?: {
|
10266
10341
|
id: string;
|
10267
10342
|
address: string | null;
|
@@ -10305,7 +10380,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10305
10380
|
extensionName: string;
|
10306
10381
|
telephonySignature: string | null;
|
10307
10382
|
};
|
10308
|
-
} | undefined;
|
10383
|
+
} | null | undefined;
|
10309
10384
|
}>;
|
10310
10385
|
}, "strip", z.ZodTypeAny, {
|
10311
10386
|
message: {
|
@@ -10317,6 +10392,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10317
10392
|
deletedAt: string | null;
|
10318
10393
|
platformId: string;
|
10319
10394
|
room: {
|
10395
|
+
id?: string | undefined;
|
10396
|
+
createdAt?: string | undefined;
|
10397
|
+
updatedAt?: string | undefined;
|
10398
|
+
deletedAt?: string | null | undefined;
|
10320
10399
|
lastMessage?: string | undefined;
|
10321
10400
|
handleTime?: number | undefined;
|
10322
10401
|
closeAt?: Date | undefined;
|
@@ -10327,28 +10406,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10327
10406
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
10328
10407
|
platformContact?: {
|
10329
10408
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10409
|
+
id: string;
|
10330
10410
|
metadata: {
|
10331
10411
|
id: string;
|
10332
10412
|
name: string;
|
10333
10413
|
picture?: string | undefined;
|
10334
10414
|
additionalCredentials?: any;
|
10335
10415
|
};
|
10416
|
+
createdAt: string;
|
10417
|
+
updatedAt: string;
|
10418
|
+
deletedAt: string | null;
|
10336
10419
|
channelId: string;
|
10337
10420
|
contact: {
|
10338
10421
|
id: string;
|
10339
10422
|
channel: string | null;
|
10340
10423
|
address: string | null;
|
10341
10424
|
name: string;
|
10342
|
-
|
10343
|
-
|
10344
|
-
|
10345
|
-
updatedAt: Date;
|
10346
|
-
deletedAt: Date | null;
|
10347
|
-
address?: string | null | undefined;
|
10348
|
-
name?: string | undefined;
|
10349
|
-
phone?: string | null | undefined;
|
10350
|
-
industry?: string | null | undefined;
|
10351
|
-
} | null;
|
10425
|
+
createdAt: string;
|
10426
|
+
updatedAt: string;
|
10427
|
+
deletedAt: string | null;
|
10352
10428
|
notes: string | null;
|
10353
10429
|
contactProfile: string | null;
|
10354
10430
|
socialProfileUrl: string | null;
|
@@ -10359,6 +10435,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10359
10435
|
updatedAt: Date;
|
10360
10436
|
deletedAt: Date | null;
|
10361
10437
|
}[] | undefined;
|
10438
|
+
company?: {
|
10439
|
+
id: string;
|
10440
|
+
createdAt: Date;
|
10441
|
+
updatedAt: Date;
|
10442
|
+
deletedAt: Date | null;
|
10443
|
+
address?: string | null | undefined;
|
10444
|
+
name?: string | undefined;
|
10445
|
+
phone?: string | null | undefined;
|
10446
|
+
industry?: string | null | undefined;
|
10447
|
+
} | undefined;
|
10362
10448
|
customFields?: {
|
10363
10449
|
id: string;
|
10364
10450
|
createdAt: Date;
|
@@ -10442,14 +10528,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10442
10528
|
address: string | null;
|
10443
10529
|
name: string;
|
10444
10530
|
email: string;
|
10445
|
-
createdAt:
|
10446
|
-
updatedAt:
|
10447
|
-
deletedAt:
|
10448
|
-
emailVerifiedAt: Date | null;
|
10531
|
+
createdAt: string;
|
10532
|
+
updatedAt: string;
|
10533
|
+
deletedAt: string | null;
|
10449
10534
|
password: string;
|
10450
10535
|
phone: string | null;
|
10451
10536
|
notificationCount: number | null;
|
10452
|
-
|
10537
|
+
emailVerifiedAt?: Date | undefined;
|
10538
|
+
roles?: {
|
10453
10539
|
id: string;
|
10454
10540
|
description: string | null;
|
10455
10541
|
createdAt: Date;
|
@@ -10466,8 +10552,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10466
10552
|
systemName: string;
|
10467
10553
|
displayName: string;
|
10468
10554
|
}[];
|
10469
|
-
}[];
|
10470
|
-
extension
|
10555
|
+
}[] | undefined;
|
10556
|
+
extension?: {
|
10471
10557
|
id: string;
|
10472
10558
|
createdAt: Date;
|
10473
10559
|
updatedAt: Date;
|
@@ -10479,21 +10565,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10479
10565
|
extensionId: string | null;
|
10480
10566
|
extensionName: string;
|
10481
10567
|
telephonySignature: string | null;
|
10482
|
-
};
|
10483
|
-
} | undefined;
|
10568
|
+
} | undefined;
|
10569
|
+
} | null | undefined;
|
10484
10570
|
assignee?: {
|
10485
10571
|
id: string;
|
10486
10572
|
address: string | null;
|
10487
10573
|
name: string;
|
10488
10574
|
email: string;
|
10489
|
-
createdAt:
|
10490
|
-
updatedAt:
|
10491
|
-
deletedAt:
|
10492
|
-
emailVerifiedAt: Date | null;
|
10575
|
+
createdAt: string;
|
10576
|
+
updatedAt: string;
|
10577
|
+
deletedAt: string | null;
|
10493
10578
|
password: string;
|
10494
10579
|
phone: string | null;
|
10495
10580
|
notificationCount: number | null;
|
10496
|
-
|
10581
|
+
emailVerifiedAt?: Date | undefined;
|
10582
|
+
roles?: {
|
10497
10583
|
id: string;
|
10498
10584
|
description: string | null;
|
10499
10585
|
createdAt: Date;
|
@@ -10510,8 +10596,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10510
10596
|
systemName: string;
|
10511
10597
|
displayName: string;
|
10512
10598
|
}[];
|
10513
|
-
}[];
|
10514
|
-
extension
|
10599
|
+
}[] | undefined;
|
10600
|
+
extension?: {
|
10515
10601
|
id: string;
|
10516
10602
|
createdAt: Date;
|
10517
10603
|
updatedAt: Date;
|
@@ -10523,8 +10609,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10523
10609
|
extensionId: string | null;
|
10524
10610
|
extensionName: string;
|
10525
10611
|
telephonySignature: string | null;
|
10526
|
-
};
|
10527
|
-
} | undefined;
|
10612
|
+
} | undefined;
|
10613
|
+
} | null | undefined;
|
10528
10614
|
channel?: {
|
10529
10615
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10530
10616
|
name: string;
|
@@ -10582,7 +10668,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10582
10668
|
note: string | null;
|
10583
10669
|
} | null;
|
10584
10670
|
} | undefined;
|
10585
|
-
};
|
10671
|
+
} | null;
|
10586
10672
|
platformMessageId: string;
|
10587
10673
|
locale: "" | "th" | "mm" | "en" | null;
|
10588
10674
|
message?: string | undefined;
|
@@ -10647,7 +10733,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10647
10733
|
extensionName: string;
|
10648
10734
|
telephonySignature: string | null;
|
10649
10735
|
};
|
10650
|
-
} | undefined;
|
10736
|
+
} | null | undefined;
|
10651
10737
|
assignee?: {
|
10652
10738
|
id: string;
|
10653
10739
|
address: string | null;
|
@@ -10691,7 +10777,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10691
10777
|
extensionName: string;
|
10692
10778
|
telephonySignature: string | null;
|
10693
10779
|
};
|
10694
|
-
} | undefined;
|
10780
|
+
} | null | undefined;
|
10695
10781
|
sender?: {
|
10696
10782
|
id: string;
|
10697
10783
|
address: string | null;
|
@@ -10735,7 +10821,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10735
10821
|
extensionName: string;
|
10736
10822
|
telephonySignature: string | null;
|
10737
10823
|
};
|
10738
|
-
} | undefined;
|
10824
|
+
} | null | undefined;
|
10739
10825
|
};
|
10740
10826
|
}, {
|
10741
10827
|
message: {
|
@@ -10747,6 +10833,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10747
10833
|
deletedAt: string | null;
|
10748
10834
|
platformId: string;
|
10749
10835
|
room: {
|
10836
|
+
id?: string | undefined;
|
10837
|
+
createdAt?: string | undefined;
|
10838
|
+
updatedAt?: string | undefined;
|
10839
|
+
deletedAt?: string | null | undefined;
|
10750
10840
|
lastMessage?: string | undefined;
|
10751
10841
|
handleTime?: number | undefined;
|
10752
10842
|
closeAt?: Date | undefined;
|
@@ -10757,28 +10847,25 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10757
10847
|
direction?: "incoming" | "outgoing" | "system" | undefined;
|
10758
10848
|
platformContact?: {
|
10759
10849
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10850
|
+
id: string;
|
10760
10851
|
metadata: {
|
10761
10852
|
id: string;
|
10762
10853
|
name: string;
|
10763
10854
|
picture?: string | undefined;
|
10764
10855
|
additionalCredentials?: any;
|
10765
10856
|
};
|
10857
|
+
createdAt: string;
|
10858
|
+
updatedAt: string;
|
10859
|
+
deletedAt: string | null;
|
10766
10860
|
channelId: string;
|
10767
10861
|
contact: {
|
10768
10862
|
id: string;
|
10769
10863
|
channel: string | null;
|
10770
10864
|
address: string | null;
|
10771
10865
|
name: string;
|
10772
|
-
|
10773
|
-
|
10774
|
-
|
10775
|
-
updatedAt: Date;
|
10776
|
-
deletedAt: Date | null;
|
10777
|
-
address?: string | null | undefined;
|
10778
|
-
name?: string | undefined;
|
10779
|
-
phone?: string | null | undefined;
|
10780
|
-
industry?: string | null | undefined;
|
10781
|
-
} | null;
|
10866
|
+
createdAt: string;
|
10867
|
+
updatedAt: string;
|
10868
|
+
deletedAt: string | null;
|
10782
10869
|
notes: string | null;
|
10783
10870
|
contactProfile: string | null;
|
10784
10871
|
socialProfileUrl: string | null;
|
@@ -10789,6 +10876,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10789
10876
|
updatedAt: Date;
|
10790
10877
|
deletedAt: Date | null;
|
10791
10878
|
}[] | undefined;
|
10879
|
+
company?: {
|
10880
|
+
id: string;
|
10881
|
+
createdAt: Date;
|
10882
|
+
updatedAt: Date;
|
10883
|
+
deletedAt: Date | null;
|
10884
|
+
address?: string | null | undefined;
|
10885
|
+
name?: string | undefined;
|
10886
|
+
phone?: string | null | undefined;
|
10887
|
+
industry?: string | null | undefined;
|
10888
|
+
} | undefined;
|
10792
10889
|
customFields?: {
|
10793
10890
|
id: string;
|
10794
10891
|
createdAt: Date;
|
@@ -10872,14 +10969,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10872
10969
|
address: string | null;
|
10873
10970
|
name: string;
|
10874
10971
|
email: string;
|
10875
|
-
createdAt:
|
10876
|
-
updatedAt:
|
10877
|
-
deletedAt:
|
10878
|
-
emailVerifiedAt: Date | null;
|
10972
|
+
createdAt: string;
|
10973
|
+
updatedAt: string;
|
10974
|
+
deletedAt: string | null;
|
10879
10975
|
password: string;
|
10880
10976
|
phone: string | null;
|
10881
10977
|
notificationCount: number | null;
|
10882
|
-
|
10978
|
+
emailVerifiedAt?: Date | undefined;
|
10979
|
+
roles?: {
|
10883
10980
|
id: string;
|
10884
10981
|
description: string | null;
|
10885
10982
|
createdAt: Date;
|
@@ -10896,8 +10993,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10896
10993
|
systemName: string;
|
10897
10994
|
displayName: string;
|
10898
10995
|
}[];
|
10899
|
-
}[];
|
10900
|
-
extension
|
10996
|
+
}[] | undefined;
|
10997
|
+
extension?: {
|
10901
10998
|
id: string;
|
10902
10999
|
createdAt: Date;
|
10903
11000
|
updatedAt: Date;
|
@@ -10909,21 +11006,21 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10909
11006
|
extensionId: string | null;
|
10910
11007
|
extensionName: string;
|
10911
11008
|
telephonySignature: string | null;
|
10912
|
-
};
|
10913
|
-
} | undefined;
|
11009
|
+
} | undefined;
|
11010
|
+
} | null | undefined;
|
10914
11011
|
assignee?: {
|
10915
11012
|
id: string;
|
10916
11013
|
address: string | null;
|
10917
11014
|
name: string;
|
10918
11015
|
email: string;
|
10919
|
-
createdAt:
|
10920
|
-
updatedAt:
|
10921
|
-
deletedAt:
|
10922
|
-
emailVerifiedAt: Date | null;
|
11016
|
+
createdAt: string;
|
11017
|
+
updatedAt: string;
|
11018
|
+
deletedAt: string | null;
|
10923
11019
|
password: string;
|
10924
11020
|
phone: string | null;
|
10925
11021
|
notificationCount: number | null;
|
10926
|
-
|
11022
|
+
emailVerifiedAt?: Date | undefined;
|
11023
|
+
roles?: {
|
10927
11024
|
id: string;
|
10928
11025
|
description: string | null;
|
10929
11026
|
createdAt: Date;
|
@@ -10940,8 +11037,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10940
11037
|
systemName: string;
|
10941
11038
|
displayName: string;
|
10942
11039
|
}[];
|
10943
|
-
}[];
|
10944
|
-
extension
|
11040
|
+
}[] | undefined;
|
11041
|
+
extension?: {
|
10945
11042
|
id: string;
|
10946
11043
|
createdAt: Date;
|
10947
11044
|
updatedAt: Date;
|
@@ -10953,8 +11050,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10953
11050
|
extensionId: string | null;
|
10954
11051
|
extensionName: string;
|
10955
11052
|
telephonySignature: string | null;
|
10956
|
-
};
|
10957
|
-
} | undefined;
|
11053
|
+
} | undefined;
|
11054
|
+
} | null | undefined;
|
10958
11055
|
channel?: {
|
10959
11056
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10960
11057
|
name: string;
|
@@ -11012,7 +11109,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11012
11109
|
note: string | null;
|
11013
11110
|
} | null;
|
11014
11111
|
} | undefined;
|
11015
|
-
};
|
11112
|
+
} | null;
|
11016
11113
|
platformMessageId: string;
|
11017
11114
|
locale: "" | "th" | "mm" | "en" | null;
|
11018
11115
|
message?: string | undefined;
|
@@ -11077,7 +11174,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11077
11174
|
extensionName: string;
|
11078
11175
|
telephonySignature: string | null;
|
11079
11176
|
};
|
11080
|
-
} | undefined;
|
11177
|
+
} | null | undefined;
|
11081
11178
|
assignee?: {
|
11082
11179
|
id: string;
|
11083
11180
|
address: string | null;
|
@@ -11121,7 +11218,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11121
11218
|
extensionName: string;
|
11122
11219
|
telephonySignature: string | null;
|
11123
11220
|
};
|
11124
|
-
} | undefined;
|
11221
|
+
} | null | undefined;
|
11125
11222
|
sender?: {
|
11126
11223
|
id: string;
|
11127
11224
|
address: string | null;
|
@@ -11165,7 +11262,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11165
11262
|
extensionName: string;
|
11166
11263
|
telephonySignature: string | null;
|
11167
11264
|
};
|
11168
|
-
} | undefined;
|
11265
|
+
} | null | undefined;
|
11169
11266
|
};
|
11170
11267
|
}>;
|
11171
11268
|
//# sourceMappingURL=validation.d.ts.map
|