@kl1/contracts 1.0.96 → 1.0.97
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 +767 -833
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +767 -832
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +3 -3
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +8 -8
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +361 -738
- 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 +5 -5
- package/dist/src/line/index.d.ts +5 -5
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/mail-contract.d.ts +258 -715
- 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/room-contract.d.ts +108 -108
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/room-validation.schema.d.ts +36 -36
- package/dist/src/mail/schemas/room.schema.d.ts +28 -28
- package/dist/src/messenger/index.d.ts +5 -5
- package/dist/src/user/index.d.ts +80 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +5 -5
- 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"}
|
@@ -202,7 +202,7 @@ export declare const instagramContract: {
|
|
202
202
|
phone: string | null;
|
203
203
|
} | undefined;
|
204
204
|
}>;
|
205
|
-
|
205
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
207
207
|
id: string;
|
208
208
|
channel: {
|
@@ -230,7 +230,6 @@ export declare const instagramContract: {
|
|
230
230
|
} | undefined;
|
231
231
|
};
|
232
232
|
direction: "incoming" | "outgoing" | "system";
|
233
|
-
status: number;
|
234
233
|
createdAt: string;
|
235
234
|
updatedAt: string;
|
236
235
|
actor: {
|
@@ -261,6 +260,7 @@ export declare const instagramContract: {
|
|
261
260
|
};
|
262
261
|
lastMessage?: string | undefined;
|
263
262
|
handleTime?: number | undefined;
|
263
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
264
264
|
}, {
|
265
265
|
id: string;
|
266
266
|
channel: {
|
@@ -288,7 +288,6 @@ export declare const instagramContract: {
|
|
288
288
|
} | undefined;
|
289
289
|
};
|
290
290
|
direction: "incoming" | "outgoing" | "system";
|
291
|
-
status: number;
|
292
291
|
createdAt: string;
|
293
292
|
updatedAt: string;
|
294
293
|
actor: {
|
@@ -319,6 +318,7 @@ export declare const instagramContract: {
|
|
319
318
|
};
|
320
319
|
lastMessage?: string | undefined;
|
321
320
|
handleTime?: number | undefined;
|
321
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
322
322
|
}>;
|
323
323
|
message: z.ZodObject<{
|
324
324
|
message: z.ZodOptional<z.ZodString>;
|
@@ -480,7 +480,6 @@ export declare const instagramContract: {
|
|
480
480
|
} | undefined;
|
481
481
|
};
|
482
482
|
direction: "incoming" | "outgoing" | "system";
|
483
|
-
status: number;
|
484
483
|
createdAt: string;
|
485
484
|
updatedAt: string;
|
486
485
|
actor: {
|
@@ -511,6 +510,7 @@ export declare const instagramContract: {
|
|
511
510
|
};
|
512
511
|
lastMessage?: string | undefined;
|
513
512
|
handleTime?: number | undefined;
|
513
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
514
514
|
};
|
515
515
|
}, {
|
516
516
|
message: {
|
@@ -568,7 +568,6 @@ export declare const instagramContract: {
|
|
568
568
|
} | undefined;
|
569
569
|
};
|
570
570
|
direction: "incoming" | "outgoing" | "system";
|
571
|
-
status: number;
|
572
571
|
createdAt: string;
|
573
572
|
updatedAt: string;
|
574
573
|
actor: {
|
@@ -599,6 +598,7 @@ export declare const instagramContract: {
|
|
599
598
|
};
|
600
599
|
lastMessage?: string | undefined;
|
601
600
|
handleTime?: number | undefined;
|
601
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
602
602
|
};
|
603
603
|
}>;
|
604
604
|
method: "POST";
|
package/dist/src/line/index.d.ts
CHANGED
@@ -1037,7 +1037,7 @@ export declare const lineContract: {
|
|
1037
1037
|
phone: string | null;
|
1038
1038
|
} | undefined;
|
1039
1039
|
}>;
|
1040
|
-
|
1040
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
1042
1042
|
id: string;
|
1043
1043
|
channel: {
|
@@ -1065,7 +1065,6 @@ export declare const lineContract: {
|
|
1065
1065
|
} | undefined;
|
1066
1066
|
};
|
1067
1067
|
direction: "incoming" | "outgoing" | "system";
|
1068
|
-
status: number;
|
1069
1068
|
createdAt: string;
|
1070
1069
|
updatedAt: string;
|
1071
1070
|
actor: {
|
@@ -1096,6 +1095,7 @@ export declare const lineContract: {
|
|
1096
1095
|
};
|
1097
1096
|
lastMessage?: string | undefined;
|
1098
1097
|
handleTime?: number | undefined;
|
1098
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1099
1099
|
}, {
|
1100
1100
|
id: string;
|
1101
1101
|
channel: {
|
@@ -1123,7 +1123,6 @@ export declare const lineContract: {
|
|
1123
1123
|
} | undefined;
|
1124
1124
|
};
|
1125
1125
|
direction: "incoming" | "outgoing" | "system";
|
1126
|
-
status: number;
|
1127
1126
|
createdAt: string;
|
1128
1127
|
updatedAt: string;
|
1129
1128
|
actor: {
|
@@ -1154,6 +1153,7 @@ export declare const lineContract: {
|
|
1154
1153
|
};
|
1155
1154
|
lastMessage?: string | undefined;
|
1156
1155
|
handleTime?: number | undefined;
|
1156
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1157
1157
|
}>;
|
1158
1158
|
message: z.ZodObject<{
|
1159
1159
|
message: z.ZodOptional<z.ZodString>;
|
@@ -1315,7 +1315,6 @@ export declare const lineContract: {
|
|
1315
1315
|
} | undefined;
|
1316
1316
|
};
|
1317
1317
|
direction: "incoming" | "outgoing" | "system";
|
1318
|
-
status: number;
|
1319
1318
|
createdAt: string;
|
1320
1319
|
updatedAt: string;
|
1321
1320
|
actor: {
|
@@ -1346,6 +1345,7 @@ export declare const lineContract: {
|
|
1346
1345
|
};
|
1347
1346
|
lastMessage?: string | undefined;
|
1348
1347
|
handleTime?: number | undefined;
|
1348
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1349
1349
|
};
|
1350
1350
|
}, {
|
1351
1351
|
message: {
|
@@ -1403,7 +1403,6 @@ export declare const lineContract: {
|
|
1403
1403
|
} | undefined;
|
1404
1404
|
};
|
1405
1405
|
direction: "incoming" | "outgoing" | "system";
|
1406
|
-
status: number;
|
1407
1406
|
createdAt: string;
|
1408
1407
|
updatedAt: string;
|
1409
1408
|
actor: {
|
@@ -1434,6 +1433,7 @@ export declare const lineContract: {
|
|
1434
1433
|
};
|
1435
1434
|
lastMessage?: string | undefined;
|
1436
1435
|
handleTime?: number | undefined;
|
1436
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1437
1437
|
};
|
1438
1438
|
}>;
|
1439
1439
|
method: "POST";
|