@kl1/contracts 1.1.0-uat → 1.1.1-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +832 -957
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +832 -956
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +57 -57
- package/dist/src/chat/schema.d.ts +8 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +15 -15
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1260 -2103
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +12 -12
- package/dist/src/line/index.d.ts +12 -12
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/index.d.ts +0 -10
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1152 -1612
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +18 -477
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +948 -951
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +316 -319
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +259 -683
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +12 -12
- package/dist/src/user/index.d.ts +4 -388
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -7
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +12 -12
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
@@ -221,7 +221,7 @@ export declare const instagramContract: {
|
|
221
221
|
phone: string | null;
|
222
222
|
} | undefined;
|
223
223
|
}>;
|
224
|
-
|
224
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
226
226
|
id: string;
|
227
227
|
channel: {
|
@@ -249,7 +249,6 @@ export declare const instagramContract: {
|
|
249
249
|
} | undefined;
|
250
250
|
};
|
251
251
|
direction: "incoming" | "outgoing" | "system";
|
252
|
-
status: number;
|
253
252
|
createdAt: string;
|
254
253
|
updatedAt: string;
|
255
254
|
actor: {
|
@@ -287,6 +286,7 @@ export declare const instagramContract: {
|
|
287
286
|
} | null;
|
288
287
|
lastMessage?: string | undefined;
|
289
288
|
handleTime?: number | undefined;
|
289
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
290
290
|
}, {
|
291
291
|
id: string;
|
292
292
|
channel: {
|
@@ -314,7 +314,6 @@ export declare const instagramContract: {
|
|
314
314
|
} | undefined;
|
315
315
|
};
|
316
316
|
direction: "incoming" | "outgoing" | "system";
|
317
|
-
status: number;
|
318
317
|
createdAt: string;
|
319
318
|
updatedAt: string;
|
320
319
|
actor: {
|
@@ -352,6 +351,7 @@ export declare const instagramContract: {
|
|
352
351
|
} | null;
|
353
352
|
lastMessage?: string | undefined;
|
354
353
|
handleTime?: number | undefined;
|
354
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
355
355
|
}>;
|
356
356
|
message: z.ZodObject<{
|
357
357
|
message: z.ZodOptional<z.ZodString>;
|
@@ -513,7 +513,6 @@ export declare const instagramContract: {
|
|
513
513
|
} | undefined;
|
514
514
|
};
|
515
515
|
direction: "incoming" | "outgoing" | "system";
|
516
|
-
status: number;
|
517
516
|
createdAt: string;
|
518
517
|
updatedAt: string;
|
519
518
|
actor: {
|
@@ -551,6 +550,7 @@ export declare const instagramContract: {
|
|
551
550
|
} | null;
|
552
551
|
lastMessage?: string | undefined;
|
553
552
|
handleTime?: number | undefined;
|
553
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
554
554
|
};
|
555
555
|
}, {
|
556
556
|
message: {
|
@@ -608,7 +608,6 @@ export declare const instagramContract: {
|
|
608
608
|
} | undefined;
|
609
609
|
};
|
610
610
|
direction: "incoming" | "outgoing" | "system";
|
611
|
-
status: number;
|
612
611
|
createdAt: string;
|
613
612
|
updatedAt: string;
|
614
613
|
actor: {
|
@@ -646,6 +645,7 @@ export declare const instagramContract: {
|
|
646
645
|
} | null;
|
647
646
|
lastMessage?: string | undefined;
|
648
647
|
handleTime?: number | undefined;
|
648
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
649
649
|
};
|
650
650
|
}>;
|
651
651
|
method: "POST";
|
@@ -677,7 +677,7 @@ export declare const instagramContract: {
|
|
677
677
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
678
678
|
lastMessage: z.ZodString;
|
679
679
|
handleTime: z.ZodNumber;
|
680
|
-
|
680
|
+
closedAt: z.ZodDate;
|
681
681
|
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
682
682
|
status: z.ZodNumber;
|
683
683
|
unreadCount: z.ZodNumber;
|
@@ -2655,7 +2655,6 @@ export declare const instagramContract: {
|
|
2655
2655
|
firstResponseTime: number;
|
2656
2656
|
lastMessage: string;
|
2657
2657
|
handleTime: number;
|
2658
|
-
closeAt: Date;
|
2659
2658
|
unreadCount: number;
|
2660
2659
|
firstResponseAt: Date;
|
2661
2660
|
isLatest: boolean;
|
@@ -2815,6 +2814,7 @@ export declare const instagramContract: {
|
|
2815
2814
|
telephonySignature: string | null;
|
2816
2815
|
};
|
2817
2816
|
};
|
2817
|
+
closedAt: Date;
|
2818
2818
|
lastMessageAt: Date | null;
|
2819
2819
|
cxlog: {
|
2820
2820
|
id: string;
|
@@ -2969,7 +2969,6 @@ export declare const instagramContract: {
|
|
2969
2969
|
firstResponseTime: number;
|
2970
2970
|
lastMessage: string;
|
2971
2971
|
handleTime: number;
|
2972
|
-
closeAt: Date;
|
2973
2972
|
unreadCount: number;
|
2974
2973
|
firstResponseAt: Date;
|
2975
2974
|
isLatest: boolean;
|
@@ -3129,6 +3128,7 @@ export declare const instagramContract: {
|
|
3129
3128
|
telephonySignature: string | null;
|
3130
3129
|
};
|
3131
3130
|
};
|
3131
|
+
closedAt: Date;
|
3132
3132
|
lastMessageAt: Date | null;
|
3133
3133
|
cxlog: {
|
3134
3134
|
id: string;
|
@@ -5029,7 +5029,6 @@ export declare const instagramContract: {
|
|
5029
5029
|
firstResponseTime: number;
|
5030
5030
|
lastMessage: string;
|
5031
5031
|
handleTime: number;
|
5032
|
-
closeAt: Date;
|
5033
5032
|
unreadCount: number;
|
5034
5033
|
firstResponseAt: Date;
|
5035
5034
|
isLatest: boolean;
|
@@ -5189,6 +5188,7 @@ export declare const instagramContract: {
|
|
5189
5188
|
telephonySignature: string | null;
|
5190
5189
|
};
|
5191
5190
|
};
|
5191
|
+
closedAt: Date;
|
5192
5192
|
lastMessageAt: Date | null;
|
5193
5193
|
cxlog: {
|
5194
5194
|
id: string;
|
@@ -5669,7 +5669,6 @@ export declare const instagramContract: {
|
|
5669
5669
|
firstResponseTime: number;
|
5670
5670
|
lastMessage: string;
|
5671
5671
|
handleTime: number;
|
5672
|
-
closeAt: Date;
|
5673
5672
|
unreadCount: number;
|
5674
5673
|
firstResponseAt: Date;
|
5675
5674
|
isLatest: boolean;
|
@@ -5829,6 +5828,7 @@ export declare const instagramContract: {
|
|
5829
5828
|
telephonySignature: string | null;
|
5830
5829
|
};
|
5831
5830
|
};
|
5831
|
+
closedAt: Date;
|
5832
5832
|
lastMessageAt: Date | null;
|
5833
5833
|
cxlog: {
|
5834
5834
|
id: string;
|
@@ -6311,7 +6311,6 @@ export declare const instagramContract: {
|
|
6311
6311
|
firstResponseTime: number;
|
6312
6312
|
lastMessage: string;
|
6313
6313
|
handleTime: number;
|
6314
|
-
closeAt: Date;
|
6315
6314
|
unreadCount: number;
|
6316
6315
|
firstResponseAt: Date;
|
6317
6316
|
isLatest: boolean;
|
@@ -6471,6 +6470,7 @@ export declare const instagramContract: {
|
|
6471
6470
|
telephonySignature: string | null;
|
6472
6471
|
};
|
6473
6472
|
};
|
6473
|
+
closedAt: Date;
|
6474
6474
|
lastMessageAt: Date | null;
|
6475
6475
|
cxlog: {
|
6476
6476
|
id: string;
|
@@ -6954,7 +6954,6 @@ export declare const instagramContract: {
|
|
6954
6954
|
firstResponseTime: number;
|
6955
6955
|
lastMessage: string;
|
6956
6956
|
handleTime: number;
|
6957
|
-
closeAt: Date;
|
6958
6957
|
unreadCount: number;
|
6959
6958
|
firstResponseAt: Date;
|
6960
6959
|
isLatest: boolean;
|
@@ -7114,6 +7113,7 @@ export declare const instagramContract: {
|
|
7114
7113
|
telephonySignature: string | null;
|
7115
7114
|
};
|
7116
7115
|
};
|
7116
|
+
closedAt: Date;
|
7117
7117
|
lastMessageAt: Date | null;
|
7118
7118
|
cxlog: {
|
7119
7119
|
id: string;
|
package/dist/src/line/index.d.ts
CHANGED
@@ -1056,7 +1056,7 @@ export declare const lineContract: {
|
|
1056
1056
|
phone: string | null;
|
1057
1057
|
} | undefined;
|
1058
1058
|
}>;
|
1059
|
-
|
1059
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1060
1060
|
}, "strip", z.ZodTypeAny, {
|
1061
1061
|
id: string;
|
1062
1062
|
channel: {
|
@@ -1084,7 +1084,6 @@ export declare const lineContract: {
|
|
1084
1084
|
} | undefined;
|
1085
1085
|
};
|
1086
1086
|
direction: "incoming" | "outgoing" | "system";
|
1087
|
-
status: number;
|
1088
1087
|
createdAt: string;
|
1089
1088
|
updatedAt: string;
|
1090
1089
|
actor: {
|
@@ -1122,6 +1121,7 @@ export declare const lineContract: {
|
|
1122
1121
|
} | null;
|
1123
1122
|
lastMessage?: string | undefined;
|
1124
1123
|
handleTime?: number | undefined;
|
1124
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1125
1125
|
}, {
|
1126
1126
|
id: string;
|
1127
1127
|
channel: {
|
@@ -1149,7 +1149,6 @@ export declare const lineContract: {
|
|
1149
1149
|
} | undefined;
|
1150
1150
|
};
|
1151
1151
|
direction: "incoming" | "outgoing" | "system";
|
1152
|
-
status: number;
|
1153
1152
|
createdAt: string;
|
1154
1153
|
updatedAt: string;
|
1155
1154
|
actor: {
|
@@ -1187,6 +1186,7 @@ export declare const lineContract: {
|
|
1187
1186
|
} | null;
|
1188
1187
|
lastMessage?: string | undefined;
|
1189
1188
|
handleTime?: number | undefined;
|
1189
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1190
1190
|
}>;
|
1191
1191
|
message: z.ZodObject<{
|
1192
1192
|
message: z.ZodOptional<z.ZodString>;
|
@@ -1348,7 +1348,6 @@ export declare const lineContract: {
|
|
1348
1348
|
} | undefined;
|
1349
1349
|
};
|
1350
1350
|
direction: "incoming" | "outgoing" | "system";
|
1351
|
-
status: number;
|
1352
1351
|
createdAt: string;
|
1353
1352
|
updatedAt: string;
|
1354
1353
|
actor: {
|
@@ -1386,6 +1385,7 @@ export declare const lineContract: {
|
|
1386
1385
|
} | null;
|
1387
1386
|
lastMessage?: string | undefined;
|
1388
1387
|
handleTime?: number | undefined;
|
1388
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1389
1389
|
};
|
1390
1390
|
}, {
|
1391
1391
|
message: {
|
@@ -1443,7 +1443,6 @@ export declare const lineContract: {
|
|
1443
1443
|
} | undefined;
|
1444
1444
|
};
|
1445
1445
|
direction: "incoming" | "outgoing" | "system";
|
1446
|
-
status: number;
|
1447
1446
|
createdAt: string;
|
1448
1447
|
updatedAt: string;
|
1449
1448
|
actor: {
|
@@ -1481,6 +1480,7 @@ export declare const lineContract: {
|
|
1481
1480
|
} | null;
|
1482
1481
|
lastMessage?: string | undefined;
|
1483
1482
|
handleTime?: number | undefined;
|
1483
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1484
1484
|
};
|
1485
1485
|
}>;
|
1486
1486
|
method: "POST";
|
@@ -1512,7 +1512,7 @@ export declare const lineContract: {
|
|
1512
1512
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1513
1513
|
lastMessage: z.ZodString;
|
1514
1514
|
handleTime: z.ZodNumber;
|
1515
|
-
|
1515
|
+
closedAt: z.ZodDate;
|
1516
1516
|
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
1517
1517
|
status: z.ZodNumber;
|
1518
1518
|
unreadCount: z.ZodNumber;
|
@@ -3490,7 +3490,6 @@ export declare const lineContract: {
|
|
3490
3490
|
firstResponseTime: number;
|
3491
3491
|
lastMessage: string;
|
3492
3492
|
handleTime: number;
|
3493
|
-
closeAt: Date;
|
3494
3493
|
unreadCount: number;
|
3495
3494
|
firstResponseAt: Date;
|
3496
3495
|
isLatest: boolean;
|
@@ -3650,6 +3649,7 @@ export declare const lineContract: {
|
|
3650
3649
|
telephonySignature: string | null;
|
3651
3650
|
};
|
3652
3651
|
};
|
3652
|
+
closedAt: Date;
|
3653
3653
|
lastMessageAt: Date | null;
|
3654
3654
|
cxlog: {
|
3655
3655
|
id: string;
|
@@ -3804,7 +3804,6 @@ export declare const lineContract: {
|
|
3804
3804
|
firstResponseTime: number;
|
3805
3805
|
lastMessage: string;
|
3806
3806
|
handleTime: number;
|
3807
|
-
closeAt: Date;
|
3808
3807
|
unreadCount: number;
|
3809
3808
|
firstResponseAt: Date;
|
3810
3809
|
isLatest: boolean;
|
@@ -3964,6 +3963,7 @@ export declare const lineContract: {
|
|
3964
3963
|
telephonySignature: string | null;
|
3965
3964
|
};
|
3966
3965
|
};
|
3966
|
+
closedAt: Date;
|
3967
3967
|
lastMessageAt: Date | null;
|
3968
3968
|
cxlog: {
|
3969
3969
|
id: string;
|
@@ -5864,7 +5864,6 @@ export declare const lineContract: {
|
|
5864
5864
|
firstResponseTime: number;
|
5865
5865
|
lastMessage: string;
|
5866
5866
|
handleTime: number;
|
5867
|
-
closeAt: Date;
|
5868
5867
|
unreadCount: number;
|
5869
5868
|
firstResponseAt: Date;
|
5870
5869
|
isLatest: boolean;
|
@@ -6024,6 +6023,7 @@ export declare const lineContract: {
|
|
6024
6023
|
telephonySignature: string | null;
|
6025
6024
|
};
|
6026
6025
|
};
|
6026
|
+
closedAt: Date;
|
6027
6027
|
lastMessageAt: Date | null;
|
6028
6028
|
cxlog: {
|
6029
6029
|
id: string;
|
@@ -6504,7 +6504,6 @@ export declare const lineContract: {
|
|
6504
6504
|
firstResponseTime: number;
|
6505
6505
|
lastMessage: string;
|
6506
6506
|
handleTime: number;
|
6507
|
-
closeAt: Date;
|
6508
6507
|
unreadCount: number;
|
6509
6508
|
firstResponseAt: Date;
|
6510
6509
|
isLatest: boolean;
|
@@ -6664,6 +6663,7 @@ export declare const lineContract: {
|
|
6664
6663
|
telephonySignature: string | null;
|
6665
6664
|
};
|
6666
6665
|
};
|
6666
|
+
closedAt: Date;
|
6667
6667
|
lastMessageAt: Date | null;
|
6668
6668
|
cxlog: {
|
6669
6669
|
id: string;
|
@@ -7146,7 +7146,6 @@ export declare const lineContract: {
|
|
7146
7146
|
firstResponseTime: number;
|
7147
7147
|
lastMessage: string;
|
7148
7148
|
handleTime: number;
|
7149
|
-
closeAt: Date;
|
7150
7149
|
unreadCount: number;
|
7151
7150
|
firstResponseAt: Date;
|
7152
7151
|
isLatest: boolean;
|
@@ -7306,6 +7305,7 @@ export declare const lineContract: {
|
|
7306
7305
|
telephonySignature: string | null;
|
7307
7306
|
};
|
7308
7307
|
};
|
7308
|
+
closedAt: Date;
|
7309
7309
|
lastMessageAt: Date | null;
|
7310
7310
|
cxlog: {
|
7311
7311
|
id: string;
|
@@ -7789,7 +7789,6 @@ export declare const lineContract: {
|
|
7789
7789
|
firstResponseTime: number;
|
7790
7790
|
lastMessage: string;
|
7791
7791
|
handleTime: number;
|
7792
|
-
closeAt: Date;
|
7793
7792
|
unreadCount: number;
|
7794
7793
|
firstResponseAt: Date;
|
7795
7794
|
isLatest: boolean;
|
@@ -7949,6 +7948,7 @@ export declare const lineContract: {
|
|
7949
7948
|
telephonySignature: string | null;
|
7950
7949
|
};
|
7951
7950
|
};
|
7951
|
+
closedAt: Date;
|
7952
7952
|
lastMessageAt: Date | null;
|
7953
7953
|
cxlog: {
|
7954
7954
|
id: string;
|