@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.
Files changed (41) hide show
  1. package/dist/index.js +832 -957
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +832 -956
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +57 -57
  6. package/dist/src/chat/schema.d.ts +8 -8
  7. package/dist/src/chat/schema.d.ts.map +1 -1
  8. package/dist/src/chat/validation.d.ts +15 -15
  9. package/dist/src/chat/validation.d.ts.map +1 -1
  10. package/dist/src/contract.d.ts +1260 -2103
  11. package/dist/src/contract.d.ts.map +1 -1
  12. package/dist/src/index.d.ts +0 -1
  13. package/dist/src/index.d.ts.map +1 -1
  14. package/dist/src/instagram/index.d.ts +12 -12
  15. package/dist/src/line/index.d.ts +12 -12
  16. package/dist/src/mail/account-contract.d.ts +132 -132
  17. package/dist/src/mail/index.d.ts +0 -10
  18. package/dist/src/mail/index.d.ts.map +1 -1
  19. package/dist/src/mail/mail-contract.d.ts +1152 -1612
  20. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  21. package/dist/src/mail/mail-server-contract.d.ts +18 -477
  22. package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
  23. package/dist/src/mail/message-contract.d.ts +54 -54
  24. package/dist/src/mail/room-contract.d.ts +948 -951
  25. package/dist/src/mail/room-contract.d.ts.map +1 -1
  26. package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
  27. package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  28. package/dist/src/mail/schemas/account.schema.d.ts +32 -32
  29. package/dist/src/mail/schemas/message.schema.d.ts +42 -42
  30. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room-validation.schema.d.ts +316 -319
  32. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room.schema.d.ts +259 -683
  34. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  35. package/dist/src/messenger/index.d.ts +12 -12
  36. package/dist/src/user/index.d.ts +4 -388
  37. package/dist/src/user/index.d.ts.map +1 -1
  38. package/dist/src/user/validation.d.ts +0 -7
  39. package/dist/src/user/validation.d.ts.map +1 -1
  40. package/dist/src/viber/index.d.ts +12 -12
  41. package/package.json +1 -1
@@ -1318,7 +1318,7 @@ export declare const viberContract: {
1318
1318
  phone: string | null;
1319
1319
  } | undefined;
1320
1320
  }>;
1321
- status: z.ZodNumber;
1321
+ messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
1322
1322
  }, "strip", z.ZodTypeAny, {
1323
1323
  id: string;
1324
1324
  channel: {
@@ -1346,7 +1346,6 @@ export declare const viberContract: {
1346
1346
  } | undefined;
1347
1347
  };
1348
1348
  direction: "incoming" | "outgoing" | "system";
1349
- status: number;
1350
1349
  createdAt: string;
1351
1350
  updatedAt: string;
1352
1351
  actor: {
@@ -1384,6 +1383,7 @@ export declare const viberContract: {
1384
1383
  } | null;
1385
1384
  lastMessage?: string | undefined;
1386
1385
  handleTime?: number | undefined;
1386
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1387
1387
  }, {
1388
1388
  id: string;
1389
1389
  channel: {
@@ -1411,7 +1411,6 @@ export declare const viberContract: {
1411
1411
  } | undefined;
1412
1412
  };
1413
1413
  direction: "incoming" | "outgoing" | "system";
1414
- status: number;
1415
1414
  createdAt: string;
1416
1415
  updatedAt: string;
1417
1416
  actor: {
@@ -1449,6 +1448,7 @@ export declare const viberContract: {
1449
1448
  } | null;
1450
1449
  lastMessage?: string | undefined;
1451
1450
  handleTime?: number | undefined;
1451
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1452
1452
  }>;
1453
1453
  message: z.ZodObject<{
1454
1454
  message: z.ZodOptional<z.ZodString>;
@@ -1610,7 +1610,6 @@ export declare const viberContract: {
1610
1610
  } | undefined;
1611
1611
  };
1612
1612
  direction: "incoming" | "outgoing" | "system";
1613
- status: number;
1614
1613
  createdAt: string;
1615
1614
  updatedAt: string;
1616
1615
  actor: {
@@ -1648,6 +1647,7 @@ export declare const viberContract: {
1648
1647
  } | null;
1649
1648
  lastMessage?: string | undefined;
1650
1649
  handleTime?: number | undefined;
1650
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1651
1651
  };
1652
1652
  }, {
1653
1653
  message: {
@@ -1705,7 +1705,6 @@ export declare const viberContract: {
1705
1705
  } | undefined;
1706
1706
  };
1707
1707
  direction: "incoming" | "outgoing" | "system";
1708
- status: number;
1709
1708
  createdAt: string;
1710
1709
  updatedAt: string;
1711
1710
  actor: {
@@ -1743,6 +1742,7 @@ export declare const viberContract: {
1743
1742
  } | null;
1744
1743
  lastMessage?: string | undefined;
1745
1744
  handleTime?: number | undefined;
1745
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1746
1746
  };
1747
1747
  }>;
1748
1748
  method: "POST";
@@ -1774,7 +1774,7 @@ export declare const viberContract: {
1774
1774
  deletedAt: z.ZodNullable<z.ZodDate>;
1775
1775
  lastMessage: z.ZodString;
1776
1776
  handleTime: z.ZodNumber;
1777
- closeAt: z.ZodDate;
1777
+ closedAt: z.ZodDate;
1778
1778
  lastMessageAt: z.ZodNullable<z.ZodDate>;
1779
1779
  status: z.ZodNumber;
1780
1780
  unreadCount: z.ZodNumber;
@@ -3752,7 +3752,6 @@ export declare const viberContract: {
3752
3752
  firstResponseTime: number;
3753
3753
  lastMessage: string;
3754
3754
  handleTime: number;
3755
- closeAt: Date;
3756
3755
  unreadCount: number;
3757
3756
  firstResponseAt: Date;
3758
3757
  isLatest: boolean;
@@ -3912,6 +3911,7 @@ export declare const viberContract: {
3912
3911
  telephonySignature: string | null;
3913
3912
  };
3914
3913
  };
3914
+ closedAt: Date;
3915
3915
  lastMessageAt: Date | null;
3916
3916
  cxlog: {
3917
3917
  id: string;
@@ -4066,7 +4066,6 @@ export declare const viberContract: {
4066
4066
  firstResponseTime: number;
4067
4067
  lastMessage: string;
4068
4068
  handleTime: number;
4069
- closeAt: Date;
4070
4069
  unreadCount: number;
4071
4070
  firstResponseAt: Date;
4072
4071
  isLatest: boolean;
@@ -4226,6 +4225,7 @@ export declare const viberContract: {
4226
4225
  telephonySignature: string | null;
4227
4226
  };
4228
4227
  };
4228
+ closedAt: Date;
4229
4229
  lastMessageAt: Date | null;
4230
4230
  cxlog: {
4231
4231
  id: string;
@@ -6126,7 +6126,6 @@ export declare const viberContract: {
6126
6126
  firstResponseTime: number;
6127
6127
  lastMessage: string;
6128
6128
  handleTime: number;
6129
- closeAt: Date;
6130
6129
  unreadCount: number;
6131
6130
  firstResponseAt: Date;
6132
6131
  isLatest: boolean;
@@ -6286,6 +6285,7 @@ export declare const viberContract: {
6286
6285
  telephonySignature: string | null;
6287
6286
  };
6288
6287
  };
6288
+ closedAt: Date;
6289
6289
  lastMessageAt: Date | null;
6290
6290
  cxlog: {
6291
6291
  id: string;
@@ -6766,7 +6766,6 @@ export declare const viberContract: {
6766
6766
  firstResponseTime: number;
6767
6767
  lastMessage: string;
6768
6768
  handleTime: number;
6769
- closeAt: Date;
6770
6769
  unreadCount: number;
6771
6770
  firstResponseAt: Date;
6772
6771
  isLatest: boolean;
@@ -6926,6 +6925,7 @@ export declare const viberContract: {
6926
6925
  telephonySignature: string | null;
6927
6926
  };
6928
6927
  };
6928
+ closedAt: Date;
6929
6929
  lastMessageAt: Date | null;
6930
6930
  cxlog: {
6931
6931
  id: string;
@@ -7408,7 +7408,6 @@ export declare const viberContract: {
7408
7408
  firstResponseTime: number;
7409
7409
  lastMessage: string;
7410
7410
  handleTime: number;
7411
- closeAt: Date;
7412
7411
  unreadCount: number;
7413
7412
  firstResponseAt: Date;
7414
7413
  isLatest: boolean;
@@ -7568,6 +7567,7 @@ export declare const viberContract: {
7568
7567
  telephonySignature: string | null;
7569
7568
  };
7570
7569
  };
7570
+ closedAt: Date;
7571
7571
  lastMessageAt: Date | null;
7572
7572
  cxlog: {
7573
7573
  id: string;
@@ -8051,7 +8051,6 @@ export declare const viberContract: {
8051
8051
  firstResponseTime: number;
8052
8052
  lastMessage: string;
8053
8053
  handleTime: number;
8054
- closeAt: Date;
8055
8054
  unreadCount: number;
8056
8055
  firstResponseAt: Date;
8057
8056
  isLatest: boolean;
@@ -8211,6 +8210,7 @@ export declare const viberContract: {
8211
8210
  telephonySignature: string | null;
8212
8211
  };
8213
8212
  };
8213
+ closedAt: Date;
8214
8214
  lastMessageAt: Date | null;
8215
8215
  cxlog: {
8216
8216
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.1.0-uat",
3
+ "version": "1.1.1-uat",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",