@kl1/contracts 1.0.99-uat → 1.1.0-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 +957 -832
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +956 -832
  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 +2103 -1260
  11. package/dist/src/contract.d.ts.map +1 -1
  12. package/dist/src/index.d.ts +1 -0
  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 +10 -0
  18. package/dist/src/mail/index.d.ts.map +1 -1
  19. package/dist/src/mail/mail-contract.d.ts +1612 -1152
  20. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  21. package/dist/src/mail/mail-server-contract.d.ts +477 -18
  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 +951 -948
  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 +319 -316
  32. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room.schema.d.ts +683 -259
  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 +388 -4
  37. package/dist/src/user/index.d.ts.map +1 -1
  38. package/dist/src/user/validation.d.ts +7 -0
  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
- messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
1321
+ status: z.ZodNumber;
1322
1322
  }, "strip", z.ZodTypeAny, {
1323
1323
  id: string;
1324
1324
  channel: {
@@ -1346,6 +1346,7 @@ export declare const viberContract: {
1346
1346
  } | undefined;
1347
1347
  };
1348
1348
  direction: "incoming" | "outgoing" | "system";
1349
+ status: number;
1349
1350
  createdAt: string;
1350
1351
  updatedAt: string;
1351
1352
  actor: {
@@ -1383,7 +1384,6 @@ export declare const viberContract: {
1383
1384
  } | null;
1384
1385
  lastMessage?: string | undefined;
1385
1386
  handleTime?: number | undefined;
1386
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1387
1387
  }, {
1388
1388
  id: string;
1389
1389
  channel: {
@@ -1411,6 +1411,7 @@ export declare const viberContract: {
1411
1411
  } | undefined;
1412
1412
  };
1413
1413
  direction: "incoming" | "outgoing" | "system";
1414
+ status: number;
1414
1415
  createdAt: string;
1415
1416
  updatedAt: string;
1416
1417
  actor: {
@@ -1448,7 +1449,6 @@ export declare const viberContract: {
1448
1449
  } | null;
1449
1450
  lastMessage?: string | undefined;
1450
1451
  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,6 +1610,7 @@ export declare const viberContract: {
1610
1610
  } | undefined;
1611
1611
  };
1612
1612
  direction: "incoming" | "outgoing" | "system";
1613
+ status: number;
1613
1614
  createdAt: string;
1614
1615
  updatedAt: string;
1615
1616
  actor: {
@@ -1647,7 +1648,6 @@ export declare const viberContract: {
1647
1648
  } | null;
1648
1649
  lastMessage?: string | undefined;
1649
1650
  handleTime?: number | undefined;
1650
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1651
1651
  };
1652
1652
  }, {
1653
1653
  message: {
@@ -1705,6 +1705,7 @@ export declare const viberContract: {
1705
1705
  } | undefined;
1706
1706
  };
1707
1707
  direction: "incoming" | "outgoing" | "system";
1708
+ status: number;
1708
1709
  createdAt: string;
1709
1710
  updatedAt: string;
1710
1711
  actor: {
@@ -1742,7 +1743,6 @@ export declare const viberContract: {
1742
1743
  } | null;
1743
1744
  lastMessage?: string | undefined;
1744
1745
  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
- closedAt: z.ZodDate;
1777
+ closeAt: z.ZodDate;
1778
1778
  lastMessageAt: z.ZodNullable<z.ZodDate>;
1779
1779
  status: z.ZodNumber;
1780
1780
  unreadCount: z.ZodNumber;
@@ -3752,6 +3752,7 @@ export declare const viberContract: {
3752
3752
  firstResponseTime: number;
3753
3753
  lastMessage: string;
3754
3754
  handleTime: number;
3755
+ closeAt: Date;
3755
3756
  unreadCount: number;
3756
3757
  firstResponseAt: Date;
3757
3758
  isLatest: boolean;
@@ -3911,7 +3912,6 @@ export declare const viberContract: {
3911
3912
  telephonySignature: string | null;
3912
3913
  };
3913
3914
  };
3914
- closedAt: Date;
3915
3915
  lastMessageAt: Date | null;
3916
3916
  cxlog: {
3917
3917
  id: string;
@@ -4066,6 +4066,7 @@ export declare const viberContract: {
4066
4066
  firstResponseTime: number;
4067
4067
  lastMessage: string;
4068
4068
  handleTime: number;
4069
+ closeAt: Date;
4069
4070
  unreadCount: number;
4070
4071
  firstResponseAt: Date;
4071
4072
  isLatest: boolean;
@@ -4225,7 +4226,6 @@ export declare const viberContract: {
4225
4226
  telephonySignature: string | null;
4226
4227
  };
4227
4228
  };
4228
- closedAt: Date;
4229
4229
  lastMessageAt: Date | null;
4230
4230
  cxlog: {
4231
4231
  id: string;
@@ -6126,6 +6126,7 @@ export declare const viberContract: {
6126
6126
  firstResponseTime: number;
6127
6127
  lastMessage: string;
6128
6128
  handleTime: number;
6129
+ closeAt: Date;
6129
6130
  unreadCount: number;
6130
6131
  firstResponseAt: Date;
6131
6132
  isLatest: boolean;
@@ -6285,7 +6286,6 @@ export declare const viberContract: {
6285
6286
  telephonySignature: string | null;
6286
6287
  };
6287
6288
  };
6288
- closedAt: Date;
6289
6289
  lastMessageAt: Date | null;
6290
6290
  cxlog: {
6291
6291
  id: string;
@@ -6766,6 +6766,7 @@ export declare const viberContract: {
6766
6766
  firstResponseTime: number;
6767
6767
  lastMessage: string;
6768
6768
  handleTime: number;
6769
+ closeAt: Date;
6769
6770
  unreadCount: number;
6770
6771
  firstResponseAt: Date;
6771
6772
  isLatest: boolean;
@@ -6925,7 +6926,6 @@ export declare const viberContract: {
6925
6926
  telephonySignature: string | null;
6926
6927
  };
6927
6928
  };
6928
- closedAt: Date;
6929
6929
  lastMessageAt: Date | null;
6930
6930
  cxlog: {
6931
6931
  id: string;
@@ -7408,6 +7408,7 @@ export declare const viberContract: {
7408
7408
  firstResponseTime: number;
7409
7409
  lastMessage: string;
7410
7410
  handleTime: number;
7411
+ closeAt: Date;
7411
7412
  unreadCount: number;
7412
7413
  firstResponseAt: Date;
7413
7414
  isLatest: boolean;
@@ -7567,7 +7568,6 @@ export declare const viberContract: {
7567
7568
  telephonySignature: string | null;
7568
7569
  };
7569
7570
  };
7570
- closedAt: Date;
7571
7571
  lastMessageAt: Date | null;
7572
7572
  cxlog: {
7573
7573
  id: string;
@@ -8051,6 +8051,7 @@ export declare const viberContract: {
8051
8051
  firstResponseTime: number;
8052
8052
  lastMessage: string;
8053
8053
  handleTime: number;
8054
+ closeAt: Date;
8054
8055
  unreadCount: number;
8055
8056
  firstResponseAt: Date;
8056
8057
  isLatest: boolean;
@@ -8210,7 +8211,6 @@ export declare const viberContract: {
8210
8211
  telephonySignature: string | null;
8211
8212
  };
8212
8213
  };
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.0.99-uat",
3
+ "version": "1.1.0-uat",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",