@kl1/contracts 1.1.56-uat → 1.1.58-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +10 -10
- package/dist/src/chat/validation.d.ts +71 -71
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +379 -185
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/facebook-feed/index.d.ts +65 -65
- package/dist/src/instagram/index.d.ts +30 -30
- package/dist/src/line/index.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +30 -30
- package/dist/src/presence-status/index.d.ts +556 -0
- package/dist/src/presence-status/index.d.ts.map +1 -0
- package/dist/src/presence-status/schema.d.ts +31 -0
- package/dist/src/presence-status/schema.d.ts.map +1 -0
- package/dist/src/presence-status/validation.d.ts +28 -0
- package/dist/src/presence-status/validation.d.ts.map +1 -0
- package/dist/src/subscription/index.d.ts +194 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +309 -0
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +30 -30
- package/dist/src/webchat/index.d.ts +30 -30
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"contract2.d.ts","sourceRoot":"","sources":["../../src/contract2.ts"],"names":[],"mappings":""}
|
@@ -2991,7 +2991,7 @@ export declare const facebookFeedContract: {
|
|
2991
2991
|
fileSize: number;
|
2992
2992
|
originalUrl?: string | undefined;
|
2993
2993
|
}>>;
|
2994
|
-
sender: z.ZodObject<{
|
2994
|
+
sender: z.ZodOptional<z.ZodObject<{
|
2995
2995
|
id: z.ZodString;
|
2996
2996
|
name: z.ZodString;
|
2997
2997
|
email: z.ZodString;
|
@@ -3009,19 +3009,12 @@ export declare const facebookFeedContract: {
|
|
3009
3009
|
name: string;
|
3010
3010
|
email: string;
|
3011
3011
|
phone: string | null;
|
3012
|
-
}
|
3012
|
+
}>>;
|
3013
3013
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
3014
3014
|
feedPostId: z.ZodOptional<z.ZodString>;
|
3015
3015
|
}, "strip", z.ZodTypeAny, {
|
3016
3016
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
3017
3017
|
direction: "incoming" | "outgoing" | "system";
|
3018
|
-
sender: {
|
3019
|
-
id: string;
|
3020
|
-
address: string | null;
|
3021
|
-
name: string;
|
3022
|
-
email: string;
|
3023
|
-
phone: string | null;
|
3024
|
-
};
|
3025
3018
|
id?: string | undefined;
|
3026
3019
|
message?: string | undefined;
|
3027
3020
|
readAt?: string | Date | null | undefined;
|
@@ -3041,18 +3034,18 @@ export declare const facebookFeedContract: {
|
|
3041
3034
|
fileSize: number;
|
3042
3035
|
originalUrl?: string | undefined;
|
3043
3036
|
} | undefined;
|
3044
|
-
|
3045
|
-
feedPostId?: string | undefined;
|
3046
|
-
}, {
|
3047
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
3048
|
-
direction: "incoming" | "outgoing" | "system";
|
3049
|
-
sender: {
|
3037
|
+
sender?: {
|
3050
3038
|
id: string;
|
3051
3039
|
address: string | null;
|
3052
3040
|
name: string;
|
3053
3041
|
email: string;
|
3054
3042
|
phone: string | null;
|
3055
|
-
};
|
3043
|
+
} | undefined;
|
3044
|
+
parentMessageId?: string | undefined;
|
3045
|
+
feedPostId?: string | undefined;
|
3046
|
+
}, {
|
3047
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
3048
|
+
direction: "incoming" | "outgoing" | "system";
|
3056
3049
|
id?: string | undefined;
|
3057
3050
|
message?: string | undefined;
|
3058
3051
|
readAt?: string | Date | null | undefined;
|
@@ -3072,6 +3065,13 @@ export declare const facebookFeedContract: {
|
|
3072
3065
|
fileSize: number;
|
3073
3066
|
originalUrl?: string | undefined;
|
3074
3067
|
} | undefined;
|
3068
|
+
sender?: {
|
3069
|
+
id: string;
|
3070
|
+
address: string | null;
|
3071
|
+
name: string;
|
3072
|
+
email: string;
|
3073
|
+
phone: string | null;
|
3074
|
+
} | undefined;
|
3075
3075
|
parentMessageId?: string | undefined;
|
3076
3076
|
feedPostId?: string | undefined;
|
3077
3077
|
}>;
|
@@ -3440,26 +3440,19 @@ export declare const facebookFeedContract: {
|
|
3440
3440
|
}>;
|
3441
3441
|
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
3442
3442
|
params: z.ZodOptional<z.ZodObject<{
|
3443
|
-
actionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["create", "edit", "like", "private_reply"]>>>;
|
3443
|
+
actionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["create", "edit", "like", "unlike", "private_reply"]>>>;
|
3444
3444
|
mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3445
3445
|
}, "strip", z.ZodTypeAny, {
|
3446
|
-
actionType?: "create" | "edit" | "like" | "private_reply" | undefined;
|
3446
|
+
actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
|
3447
3447
|
mentions?: string[] | undefined;
|
3448
3448
|
}, {
|
3449
|
-
actionType?: "create" | "edit" | "like" | "private_reply" | undefined;
|
3449
|
+
actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
|
3450
3450
|
mentions?: string[] | undefined;
|
3451
3451
|
}>>;
|
3452
3452
|
}, "strip", z.ZodTypeAny, {
|
3453
3453
|
message: {
|
3454
3454
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
3455
3455
|
direction: "incoming" | "outgoing" | "system";
|
3456
|
-
sender: {
|
3457
|
-
id: string;
|
3458
|
-
address: string | null;
|
3459
|
-
name: string;
|
3460
|
-
email: string;
|
3461
|
-
phone: string | null;
|
3462
|
-
};
|
3463
3456
|
id?: string | undefined;
|
3464
3457
|
message?: string | undefined;
|
3465
3458
|
readAt?: string | Date | null | undefined;
|
@@ -3479,6 +3472,13 @@ export declare const facebookFeedContract: {
|
|
3479
3472
|
fileSize: number;
|
3480
3473
|
originalUrl?: string | undefined;
|
3481
3474
|
} | undefined;
|
3475
|
+
sender?: {
|
3476
|
+
id: string;
|
3477
|
+
address: string | null;
|
3478
|
+
name: string;
|
3479
|
+
email: string;
|
3480
|
+
phone: string | null;
|
3481
|
+
} | undefined;
|
3482
3482
|
parentMessageId?: string | undefined;
|
3483
3483
|
feedPostId?: string | undefined;
|
3484
3484
|
};
|
@@ -3553,20 +3553,13 @@ export declare const facebookFeedContract: {
|
|
3553
3553
|
};
|
3554
3554
|
isBot: boolean | null;
|
3555
3555
|
params?: {
|
3556
|
-
actionType?: "create" | "edit" | "like" | "private_reply" | undefined;
|
3556
|
+
actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
|
3557
3557
|
mentions?: string[] | undefined;
|
3558
3558
|
} | undefined;
|
3559
3559
|
}, {
|
3560
3560
|
message: {
|
3561
3561
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
3562
3562
|
direction: "incoming" | "outgoing" | "system";
|
3563
|
-
sender: {
|
3564
|
-
id: string;
|
3565
|
-
address: string | null;
|
3566
|
-
name: string;
|
3567
|
-
email: string;
|
3568
|
-
phone: string | null;
|
3569
|
-
};
|
3570
3563
|
id?: string | undefined;
|
3571
3564
|
message?: string | undefined;
|
3572
3565
|
readAt?: string | Date | null | undefined;
|
@@ -3586,6 +3579,13 @@ export declare const facebookFeedContract: {
|
|
3586
3579
|
fileSize: number;
|
3587
3580
|
originalUrl?: string | undefined;
|
3588
3581
|
} | undefined;
|
3582
|
+
sender?: {
|
3583
|
+
id: string;
|
3584
|
+
address: string | null;
|
3585
|
+
name: string;
|
3586
|
+
email: string;
|
3587
|
+
phone: string | null;
|
3588
|
+
} | undefined;
|
3589
3589
|
parentMessageId?: string | undefined;
|
3590
3590
|
feedPostId?: string | undefined;
|
3591
3591
|
};
|
@@ -3660,7 +3660,7 @@ export declare const facebookFeedContract: {
|
|
3660
3660
|
};
|
3661
3661
|
isBot?: boolean | null | undefined;
|
3662
3662
|
params?: {
|
3663
|
-
actionType?: "create" | "edit" | "like" | "private_reply" | undefined;
|
3663
|
+
actionType?: "create" | "edit" | "like" | "unlike" | "private_reply" | undefined;
|
3664
3664
|
mentions?: string[] | undefined;
|
3665
3665
|
} | undefined;
|
3666
3666
|
}>;
|
@@ -20360,7 +20360,7 @@ export declare const facebookFeedContract: {
|
|
20360
20360
|
fileSize: number;
|
20361
20361
|
originalUrl?: string | undefined;
|
20362
20362
|
}>>;
|
20363
|
-
sender: z.ZodObject<{
|
20363
|
+
sender: z.ZodOptional<z.ZodObject<{
|
20364
20364
|
id: z.ZodString;
|
20365
20365
|
name: z.ZodString;
|
20366
20366
|
email: z.ZodString;
|
@@ -20378,19 +20378,12 @@ export declare const facebookFeedContract: {
|
|
20378
20378
|
name: string;
|
20379
20379
|
email: string;
|
20380
20380
|
phone: string | null;
|
20381
|
-
}
|
20381
|
+
}>>;
|
20382
20382
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
20383
20383
|
feedPostId: z.ZodOptional<z.ZodString>;
|
20384
20384
|
}, "strip", z.ZodTypeAny, {
|
20385
20385
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
20386
20386
|
direction: "incoming" | "outgoing" | "system";
|
20387
|
-
sender: {
|
20388
|
-
id: string;
|
20389
|
-
address: string | null;
|
20390
|
-
name: string;
|
20391
|
-
email: string;
|
20392
|
-
phone: string | null;
|
20393
|
-
};
|
20394
20387
|
id?: string | undefined;
|
20395
20388
|
message?: string | undefined;
|
20396
20389
|
readAt?: string | Date | null | undefined;
|
@@ -20410,18 +20403,18 @@ export declare const facebookFeedContract: {
|
|
20410
20403
|
fileSize: number;
|
20411
20404
|
originalUrl?: string | undefined;
|
20412
20405
|
} | undefined;
|
20413
|
-
|
20414
|
-
feedPostId?: string | undefined;
|
20415
|
-
}, {
|
20416
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
20417
|
-
direction: "incoming" | "outgoing" | "system";
|
20418
|
-
sender: {
|
20406
|
+
sender?: {
|
20419
20407
|
id: string;
|
20420
20408
|
address: string | null;
|
20421
20409
|
name: string;
|
20422
20410
|
email: string;
|
20423
20411
|
phone: string | null;
|
20424
|
-
};
|
20412
|
+
} | undefined;
|
20413
|
+
parentMessageId?: string | undefined;
|
20414
|
+
feedPostId?: string | undefined;
|
20415
|
+
}, {
|
20416
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
20417
|
+
direction: "incoming" | "outgoing" | "system";
|
20425
20418
|
id?: string | undefined;
|
20426
20419
|
message?: string | undefined;
|
20427
20420
|
readAt?: string | Date | null | undefined;
|
@@ -20441,6 +20434,13 @@ export declare const facebookFeedContract: {
|
|
20441
20434
|
fileSize: number;
|
20442
20435
|
originalUrl?: string | undefined;
|
20443
20436
|
} | undefined;
|
20437
|
+
sender?: {
|
20438
|
+
id: string;
|
20439
|
+
address: string | null;
|
20440
|
+
name: string;
|
20441
|
+
email: string;
|
20442
|
+
phone: string | null;
|
20443
|
+
} | undefined;
|
20444
20444
|
parentMessageId?: string | undefined;
|
20445
20445
|
feedPostId?: string | undefined;
|
20446
20446
|
}>;
|
@@ -20448,13 +20448,6 @@ export declare const facebookFeedContract: {
|
|
20448
20448
|
message: {
|
20449
20449
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
20450
20450
|
direction: "incoming" | "outgoing" | "system";
|
20451
|
-
sender: {
|
20452
|
-
id: string;
|
20453
|
-
address: string | null;
|
20454
|
-
name: string;
|
20455
|
-
email: string;
|
20456
|
-
phone: string | null;
|
20457
|
-
};
|
20458
20451
|
id?: string | undefined;
|
20459
20452
|
message?: string | undefined;
|
20460
20453
|
readAt?: string | Date | null | undefined;
|
@@ -20474,6 +20467,13 @@ export declare const facebookFeedContract: {
|
|
20474
20467
|
fileSize: number;
|
20475
20468
|
originalUrl?: string | undefined;
|
20476
20469
|
} | undefined;
|
20470
|
+
sender?: {
|
20471
|
+
id: string;
|
20472
|
+
address: string | null;
|
20473
|
+
name: string;
|
20474
|
+
email: string;
|
20475
|
+
phone: string | null;
|
20476
|
+
} | undefined;
|
20477
20477
|
parentMessageId?: string | undefined;
|
20478
20478
|
feedPostId?: string | undefined;
|
20479
20479
|
};
|
@@ -20551,13 +20551,6 @@ export declare const facebookFeedContract: {
|
|
20551
20551
|
message: {
|
20552
20552
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
20553
20553
|
direction: "incoming" | "outgoing" | "system";
|
20554
|
-
sender: {
|
20555
|
-
id: string;
|
20556
|
-
address: string | null;
|
20557
|
-
name: string;
|
20558
|
-
email: string;
|
20559
|
-
phone: string | null;
|
20560
|
-
};
|
20561
20554
|
id?: string | undefined;
|
20562
20555
|
message?: string | undefined;
|
20563
20556
|
readAt?: string | Date | null | undefined;
|
@@ -20577,6 +20570,13 @@ export declare const facebookFeedContract: {
|
|
20577
20570
|
fileSize: number;
|
20578
20571
|
originalUrl?: string | undefined;
|
20579
20572
|
} | undefined;
|
20573
|
+
sender?: {
|
20574
|
+
id: string;
|
20575
|
+
address: string | null;
|
20576
|
+
name: string;
|
20577
|
+
email: string;
|
20578
|
+
phone: string | null;
|
20579
|
+
} | undefined;
|
20580
20580
|
parentMessageId?: string | undefined;
|
20581
20581
|
feedPostId?: string | undefined;
|
20582
20582
|
};
|
@@ -403,7 +403,7 @@ export declare const instagramContract: {
|
|
403
403
|
fileSize: number;
|
404
404
|
originalUrl?: string | undefined;
|
405
405
|
}>>;
|
406
|
-
sender: z.ZodObject<{
|
406
|
+
sender: z.ZodOptional<z.ZodObject<{
|
407
407
|
id: z.ZodString;
|
408
408
|
name: z.ZodString;
|
409
409
|
email: z.ZodString;
|
@@ -421,19 +421,12 @@ export declare const instagramContract: {
|
|
421
421
|
name: string;
|
422
422
|
email: string;
|
423
423
|
phone: string | null;
|
424
|
-
}
|
424
|
+
}>>;
|
425
425
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
426
426
|
feedPostId: z.ZodOptional<z.ZodString>;
|
427
427
|
}, "strip", z.ZodTypeAny, {
|
428
428
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
429
429
|
direction: "incoming" | "outgoing" | "system";
|
430
|
-
sender: {
|
431
|
-
id: string;
|
432
|
-
address: string | null;
|
433
|
-
name: string;
|
434
|
-
email: string;
|
435
|
-
phone: string | null;
|
436
|
-
};
|
437
430
|
id?: string | undefined;
|
438
431
|
message?: string | undefined;
|
439
432
|
readAt?: string | Date | null | undefined;
|
@@ -453,18 +446,18 @@ export declare const instagramContract: {
|
|
453
446
|
fileSize: number;
|
454
447
|
originalUrl?: string | undefined;
|
455
448
|
} | undefined;
|
456
|
-
|
457
|
-
feedPostId?: string | undefined;
|
458
|
-
}, {
|
459
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
460
|
-
direction: "incoming" | "outgoing" | "system";
|
461
|
-
sender: {
|
449
|
+
sender?: {
|
462
450
|
id: string;
|
463
451
|
address: string | null;
|
464
452
|
name: string;
|
465
453
|
email: string;
|
466
454
|
phone: string | null;
|
467
|
-
};
|
455
|
+
} | undefined;
|
456
|
+
parentMessageId?: string | undefined;
|
457
|
+
feedPostId?: string | undefined;
|
458
|
+
}, {
|
459
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
460
|
+
direction: "incoming" | "outgoing" | "system";
|
468
461
|
id?: string | undefined;
|
469
462
|
message?: string | undefined;
|
470
463
|
readAt?: string | Date | null | undefined;
|
@@ -484,6 +477,13 @@ export declare const instagramContract: {
|
|
484
477
|
fileSize: number;
|
485
478
|
originalUrl?: string | undefined;
|
486
479
|
} | undefined;
|
480
|
+
sender?: {
|
481
|
+
id: string;
|
482
|
+
address: string | null;
|
483
|
+
name: string;
|
484
|
+
email: string;
|
485
|
+
phone: string | null;
|
486
|
+
} | undefined;
|
487
487
|
parentMessageId?: string | undefined;
|
488
488
|
feedPostId?: string | undefined;
|
489
489
|
}>;
|
@@ -491,13 +491,6 @@ export declare const instagramContract: {
|
|
491
491
|
message: {
|
492
492
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
493
493
|
direction: "incoming" | "outgoing" | "system";
|
494
|
-
sender: {
|
495
|
-
id: string;
|
496
|
-
address: string | null;
|
497
|
-
name: string;
|
498
|
-
email: string;
|
499
|
-
phone: string | null;
|
500
|
-
};
|
501
494
|
id?: string | undefined;
|
502
495
|
message?: string | undefined;
|
503
496
|
readAt?: string | Date | null | undefined;
|
@@ -517,6 +510,13 @@ export declare const instagramContract: {
|
|
517
510
|
fileSize: number;
|
518
511
|
originalUrl?: string | undefined;
|
519
512
|
} | undefined;
|
513
|
+
sender?: {
|
514
|
+
id: string;
|
515
|
+
address: string | null;
|
516
|
+
name: string;
|
517
|
+
email: string;
|
518
|
+
phone: string | null;
|
519
|
+
} | undefined;
|
520
520
|
parentMessageId?: string | undefined;
|
521
521
|
feedPostId?: string | undefined;
|
522
522
|
};
|
@@ -594,13 +594,6 @@ export declare const instagramContract: {
|
|
594
594
|
message: {
|
595
595
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
596
596
|
direction: "incoming" | "outgoing" | "system";
|
597
|
-
sender: {
|
598
|
-
id: string;
|
599
|
-
address: string | null;
|
600
|
-
name: string;
|
601
|
-
email: string;
|
602
|
-
phone: string | null;
|
603
|
-
};
|
604
597
|
id?: string | undefined;
|
605
598
|
message?: string | undefined;
|
606
599
|
readAt?: string | Date | null | undefined;
|
@@ -620,6 +613,13 @@ export declare const instagramContract: {
|
|
620
613
|
fileSize: number;
|
621
614
|
originalUrl?: string | undefined;
|
622
615
|
} | undefined;
|
616
|
+
sender?: {
|
617
|
+
id: string;
|
618
|
+
address: string | null;
|
619
|
+
name: string;
|
620
|
+
email: string;
|
621
|
+
phone: string | null;
|
622
|
+
} | undefined;
|
623
623
|
parentMessageId?: string | undefined;
|
624
624
|
feedPostId?: string | undefined;
|
625
625
|
};
|
package/dist/src/line/index.d.ts
CHANGED
@@ -1266,7 +1266,7 @@ export declare const lineContract: {
|
|
1266
1266
|
fileSize: number;
|
1267
1267
|
originalUrl?: string | undefined;
|
1268
1268
|
}>>;
|
1269
|
-
sender: z.ZodObject<{
|
1269
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1270
1270
|
id: z.ZodString;
|
1271
1271
|
name: z.ZodString;
|
1272
1272
|
email: z.ZodString;
|
@@ -1284,19 +1284,12 @@ export declare const lineContract: {
|
|
1284
1284
|
name: string;
|
1285
1285
|
email: string;
|
1286
1286
|
phone: string | null;
|
1287
|
-
}
|
1287
|
+
}>>;
|
1288
1288
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
1289
1289
|
feedPostId: z.ZodOptional<z.ZodString>;
|
1290
1290
|
}, "strip", z.ZodTypeAny, {
|
1291
1291
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1292
1292
|
direction: "incoming" | "outgoing" | "system";
|
1293
|
-
sender: {
|
1294
|
-
id: string;
|
1295
|
-
address: string | null;
|
1296
|
-
name: string;
|
1297
|
-
email: string;
|
1298
|
-
phone: string | null;
|
1299
|
-
};
|
1300
1293
|
id?: string | undefined;
|
1301
1294
|
message?: string | undefined;
|
1302
1295
|
readAt?: string | Date | null | undefined;
|
@@ -1316,18 +1309,18 @@ export declare const lineContract: {
|
|
1316
1309
|
fileSize: number;
|
1317
1310
|
originalUrl?: string | undefined;
|
1318
1311
|
} | undefined;
|
1319
|
-
|
1320
|
-
feedPostId?: string | undefined;
|
1321
|
-
}, {
|
1322
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1323
|
-
direction: "incoming" | "outgoing" | "system";
|
1324
|
-
sender: {
|
1312
|
+
sender?: {
|
1325
1313
|
id: string;
|
1326
1314
|
address: string | null;
|
1327
1315
|
name: string;
|
1328
1316
|
email: string;
|
1329
1317
|
phone: string | null;
|
1330
|
-
};
|
1318
|
+
} | undefined;
|
1319
|
+
parentMessageId?: string | undefined;
|
1320
|
+
feedPostId?: string | undefined;
|
1321
|
+
}, {
|
1322
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1323
|
+
direction: "incoming" | "outgoing" | "system";
|
1331
1324
|
id?: string | undefined;
|
1332
1325
|
message?: string | undefined;
|
1333
1326
|
readAt?: string | Date | null | undefined;
|
@@ -1347,6 +1340,13 @@ export declare const lineContract: {
|
|
1347
1340
|
fileSize: number;
|
1348
1341
|
originalUrl?: string | undefined;
|
1349
1342
|
} | undefined;
|
1343
|
+
sender?: {
|
1344
|
+
id: string;
|
1345
|
+
address: string | null;
|
1346
|
+
name: string;
|
1347
|
+
email: string;
|
1348
|
+
phone: string | null;
|
1349
|
+
} | undefined;
|
1350
1350
|
parentMessageId?: string | undefined;
|
1351
1351
|
feedPostId?: string | undefined;
|
1352
1352
|
}>;
|
@@ -1354,13 +1354,6 @@ export declare const lineContract: {
|
|
1354
1354
|
message: {
|
1355
1355
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1356
1356
|
direction: "incoming" | "outgoing" | "system";
|
1357
|
-
sender: {
|
1358
|
-
id: string;
|
1359
|
-
address: string | null;
|
1360
|
-
name: string;
|
1361
|
-
email: string;
|
1362
|
-
phone: string | null;
|
1363
|
-
};
|
1364
1357
|
id?: string | undefined;
|
1365
1358
|
message?: string | undefined;
|
1366
1359
|
readAt?: string | Date | null | undefined;
|
@@ -1380,6 +1373,13 @@ export declare const lineContract: {
|
|
1380
1373
|
fileSize: number;
|
1381
1374
|
originalUrl?: string | undefined;
|
1382
1375
|
} | undefined;
|
1376
|
+
sender?: {
|
1377
|
+
id: string;
|
1378
|
+
address: string | null;
|
1379
|
+
name: string;
|
1380
|
+
email: string;
|
1381
|
+
phone: string | null;
|
1382
|
+
} | undefined;
|
1383
1383
|
parentMessageId?: string | undefined;
|
1384
1384
|
feedPostId?: string | undefined;
|
1385
1385
|
};
|
@@ -1457,13 +1457,6 @@ export declare const lineContract: {
|
|
1457
1457
|
message: {
|
1458
1458
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1459
1459
|
direction: "incoming" | "outgoing" | "system";
|
1460
|
-
sender: {
|
1461
|
-
id: string;
|
1462
|
-
address: string | null;
|
1463
|
-
name: string;
|
1464
|
-
email: string;
|
1465
|
-
phone: string | null;
|
1466
|
-
};
|
1467
1460
|
id?: string | undefined;
|
1468
1461
|
message?: string | undefined;
|
1469
1462
|
readAt?: string | Date | null | undefined;
|
@@ -1483,6 +1476,13 @@ export declare const lineContract: {
|
|
1483
1476
|
fileSize: number;
|
1484
1477
|
originalUrl?: string | undefined;
|
1485
1478
|
} | undefined;
|
1479
|
+
sender?: {
|
1480
|
+
id: string;
|
1481
|
+
address: string | null;
|
1482
|
+
name: string;
|
1483
|
+
email: string;
|
1484
|
+
phone: string | null;
|
1485
|
+
} | undefined;
|
1486
1486
|
parentMessageId?: string | undefined;
|
1487
1487
|
feedPostId?: string | undefined;
|
1488
1488
|
};
|