@kl1/contracts 1.1.0-uat → 1.1.2-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 (39) hide show
  1. package/dist/index.js +837 -939
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +837 -938
  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 -1720
  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 +3 -3
  37. package/dist/src/user/index.d.ts.map +1 -1
  38. package/dist/src/viber/index.d.ts +12 -12
  39. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"room.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/room.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC;AAaH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEjC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBzB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC"}
@@ -224,7 +224,7 @@ export declare const messengerContract: {
224
224
  phone: string | null;
225
225
  } | undefined;
226
226
  }>;
227
- status: z.ZodNumber;
227
+ messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
228
228
  }, "strip", z.ZodTypeAny, {
229
229
  id: string;
230
230
  channel: {
@@ -252,7 +252,6 @@ export declare const messengerContract: {
252
252
  } | undefined;
253
253
  };
254
254
  direction: "incoming" | "outgoing" | "system";
255
- status: number;
256
255
  createdAt: string;
257
256
  updatedAt: string;
258
257
  actor: {
@@ -290,6 +289,7 @@ export declare const messengerContract: {
290
289
  } | null;
291
290
  lastMessage?: string | undefined;
292
291
  handleTime?: number | undefined;
292
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
293
293
  }, {
294
294
  id: string;
295
295
  channel: {
@@ -317,7 +317,6 @@ export declare const messengerContract: {
317
317
  } | undefined;
318
318
  };
319
319
  direction: "incoming" | "outgoing" | "system";
320
- status: number;
321
320
  createdAt: string;
322
321
  updatedAt: string;
323
322
  actor: {
@@ -355,6 +354,7 @@ export declare const messengerContract: {
355
354
  } | null;
356
355
  lastMessage?: string | undefined;
357
356
  handleTime?: number | undefined;
357
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
358
358
  }>;
359
359
  message: z.ZodObject<{
360
360
  message: z.ZodOptional<z.ZodString>;
@@ -516,7 +516,6 @@ export declare const messengerContract: {
516
516
  } | undefined;
517
517
  };
518
518
  direction: "incoming" | "outgoing" | "system";
519
- status: number;
520
519
  createdAt: string;
521
520
  updatedAt: string;
522
521
  actor: {
@@ -554,6 +553,7 @@ export declare const messengerContract: {
554
553
  } | null;
555
554
  lastMessage?: string | undefined;
556
555
  handleTime?: number | undefined;
556
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
557
557
  };
558
558
  }, {
559
559
  message: {
@@ -611,7 +611,6 @@ export declare const messengerContract: {
611
611
  } | undefined;
612
612
  };
613
613
  direction: "incoming" | "outgoing" | "system";
614
- status: number;
615
614
  createdAt: string;
616
615
  updatedAt: string;
617
616
  actor: {
@@ -649,6 +648,7 @@ export declare const messengerContract: {
649
648
  } | null;
650
649
  lastMessage?: string | undefined;
651
650
  handleTime?: number | undefined;
651
+ messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
652
652
  };
653
653
  }>;
654
654
  method: "POST";
@@ -680,7 +680,7 @@ export declare const messengerContract: {
680
680
  deletedAt: z.ZodNullable<z.ZodDate>;
681
681
  lastMessage: z.ZodString;
682
682
  handleTime: z.ZodNumber;
683
- closeAt: z.ZodDate;
683
+ closedAt: z.ZodDate;
684
684
  lastMessageAt: z.ZodNullable<z.ZodDate>;
685
685
  status: z.ZodNumber;
686
686
  unreadCount: z.ZodNumber;
@@ -2658,7 +2658,6 @@ export declare const messengerContract: {
2658
2658
  firstResponseTime: number;
2659
2659
  lastMessage: string;
2660
2660
  handleTime: number;
2661
- closeAt: Date;
2662
2661
  unreadCount: number;
2663
2662
  firstResponseAt: Date;
2664
2663
  isLatest: boolean;
@@ -2818,6 +2817,7 @@ export declare const messengerContract: {
2818
2817
  telephonySignature: string | null;
2819
2818
  };
2820
2819
  };
2820
+ closedAt: Date;
2821
2821
  lastMessageAt: Date | null;
2822
2822
  cxlog: {
2823
2823
  id: string;
@@ -2972,7 +2972,6 @@ export declare const messengerContract: {
2972
2972
  firstResponseTime: number;
2973
2973
  lastMessage: string;
2974
2974
  handleTime: number;
2975
- closeAt: Date;
2976
2975
  unreadCount: number;
2977
2976
  firstResponseAt: Date;
2978
2977
  isLatest: boolean;
@@ -3132,6 +3131,7 @@ export declare const messengerContract: {
3132
3131
  telephonySignature: string | null;
3133
3132
  };
3134
3133
  };
3134
+ closedAt: Date;
3135
3135
  lastMessageAt: Date | null;
3136
3136
  cxlog: {
3137
3137
  id: string;
@@ -5032,7 +5032,6 @@ export declare const messengerContract: {
5032
5032
  firstResponseTime: number;
5033
5033
  lastMessage: string;
5034
5034
  handleTime: number;
5035
- closeAt: Date;
5036
5035
  unreadCount: number;
5037
5036
  firstResponseAt: Date;
5038
5037
  isLatest: boolean;
@@ -5192,6 +5191,7 @@ export declare const messengerContract: {
5192
5191
  telephonySignature: string | null;
5193
5192
  };
5194
5193
  };
5194
+ closedAt: Date;
5195
5195
  lastMessageAt: Date | null;
5196
5196
  cxlog: {
5197
5197
  id: string;
@@ -5672,7 +5672,6 @@ export declare const messengerContract: {
5672
5672
  firstResponseTime: number;
5673
5673
  lastMessage: string;
5674
5674
  handleTime: number;
5675
- closeAt: Date;
5676
5675
  unreadCount: number;
5677
5676
  firstResponseAt: Date;
5678
5677
  isLatest: boolean;
@@ -5832,6 +5831,7 @@ export declare const messengerContract: {
5832
5831
  telephonySignature: string | null;
5833
5832
  };
5834
5833
  };
5834
+ closedAt: Date;
5835
5835
  lastMessageAt: Date | null;
5836
5836
  cxlog: {
5837
5837
  id: string;
@@ -6314,7 +6314,6 @@ export declare const messengerContract: {
6314
6314
  firstResponseTime: number;
6315
6315
  lastMessage: string;
6316
6316
  handleTime: number;
6317
- closeAt: Date;
6318
6317
  unreadCount: number;
6319
6318
  firstResponseAt: Date;
6320
6319
  isLatest: boolean;
@@ -6474,6 +6473,7 @@ export declare const messengerContract: {
6474
6473
  telephonySignature: string | null;
6475
6474
  };
6476
6475
  };
6476
+ closedAt: Date;
6477
6477
  lastMessageAt: Date | null;
6478
6478
  cxlog: {
6479
6479
  id: string;
@@ -6957,7 +6957,6 @@ export declare const messengerContract: {
6957
6957
  firstResponseTime: number;
6958
6958
  lastMessage: string;
6959
6959
  handleTime: number;
6960
- closeAt: Date;
6961
6960
  unreadCount: number;
6962
6961
  firstResponseAt: Date;
6963
6962
  isLatest: boolean;
@@ -7117,6 +7116,7 @@ export declare const messengerContract: {
7117
7116
  telephonySignature: string | null;
7118
7117
  };
7119
7118
  };
7119
+ closedAt: Date;
7120
7120
  lastMessageAt: Date | null;
7121
7121
  cxlog: {
7122
7122
  id: string;
@@ -946,7 +946,7 @@ export declare const userContract: {
946
946
  responses: {
947
947
  201: z.ZodObject<{
948
948
  requestId: z.ZodString;
949
- user: z.ZodObject<{
949
+ role: z.ZodObject<{
950
950
  id: z.ZodString;
951
951
  createdAt: z.ZodDate;
952
952
  updatedAt: z.ZodDate;
@@ -1151,7 +1151,7 @@ export declare const userContract: {
1151
1151
  };
1152
1152
  }>;
1153
1153
  }, "strip", z.ZodTypeAny, {
1154
- user: {
1154
+ role: {
1155
1155
  id: string;
1156
1156
  address: string | null;
1157
1157
  name: string;
@@ -1197,7 +1197,7 @@ export declare const userContract: {
1197
1197
  };
1198
1198
  requestId: string;
1199
1199
  }, {
1200
- user: {
1200
+ role: {
1201
1201
  id: string;
1202
1202
  address: string | null;
1203
1203
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,cAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsHxB,CAAC"}
@@ -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.2-uat",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",