@kl1/contracts 1.3.46 → 1.3.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts +837 -2
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/channel/validation.d.ts +20 -0
  5. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/index.d.ts +233 -211
  7. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/schema.d.ts +60 -63
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +95 -69
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contract.d.ts +3109 -1833
  13. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/index.d.ts +1 -1
  15. package/dist/api-contracts/src/cx-log/schema.d.ts +1 -1
  16. package/dist/api-contracts/src/facebook-feed/index.d.ts +58 -53
  17. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  19. package/dist/api-contracts/src/index.d.ts +1 -0
  20. package/dist/api-contracts/src/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/instagram/index.d.ts +46 -41
  22. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/line/index.d.ts +53 -48
  24. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  26. package/dist/api-contracts/src/messenger/index.d.ts +46 -41
  27. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  29. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/sms/index.d.ts +12 -7
  31. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/telegram/index.d.ts +46 -41
  33. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  35. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  37. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  39. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/viber/index.d.ts +46 -41
  41. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/webchat/index.d.ts +46 -41
  43. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/whatsapp/index.d.ts +46 -41
  45. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  47. package/dist/index.js +1617 -1604
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +1615 -1603
  50. package/dist/index.mjs.map +1 -1
  51. package/package.json +1 -1
@@ -37,7 +37,7 @@ export declare const chatContract: {
37
37
  firstResponseTime: z.ZodNumber;
38
38
  isLatest: z.ZodBoolean;
39
39
  isBotRoom: z.ZodBoolean;
40
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
40
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
41
41
  platformContact: z.ZodObject<{
42
42
  id: z.ZodString;
43
43
  createdAt: z.ZodDate;
@@ -4440,8 +4440,8 @@ export declare const chatContract: {
4440
4440
  updatedAt: z.ZodDate;
4441
4441
  deletedAt: z.ZodNullable<z.ZodDate>;
4442
4442
  message: z.ZodString;
4443
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4444
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4443
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4444
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4445
4445
  readAt: z.ZodDate;
4446
4446
  metadata: z.ZodAny;
4447
4447
  platformId: z.ZodString;
@@ -4467,7 +4467,7 @@ export declare const chatContract: {
4467
4467
  firstResponseTime: z.ZodNumber;
4468
4468
  isLatest: z.ZodBoolean;
4469
4469
  isBotRoom: z.ZodBoolean;
4470
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4470
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4471
4471
  platformContact: z.ZodObject<{
4472
4472
  id: z.ZodString;
4473
4473
  createdAt: z.ZodDate;
@@ -7983,8 +7983,8 @@ export declare const chatContract: {
7983
7983
  updatedAt: z.ZodDate;
7984
7984
  deletedAt: z.ZodNullable<z.ZodDate>;
7985
7985
  message: z.ZodString;
7986
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7987
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7986
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7987
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7988
7988
  readAt: z.ZodDate;
7989
7989
  metadata: z.ZodAny;
7990
7990
  platformId: z.ZodString;
@@ -8642,7 +8642,7 @@ export declare const chatContract: {
8642
8642
  };
8643
8643
  }>;
8644
8644
  }, "strip", z.ZodTypeAny, {
8645
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8645
+ type: string;
8646
8646
  message: string;
8647
8647
  id: string;
8648
8648
  url: string;
@@ -8804,7 +8804,7 @@ export declare const chatContract: {
8804
8804
  metadata?: any;
8805
8805
  template?: any;
8806
8806
  }, {
8807
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8807
+ type: string;
8808
8808
  message: string;
8809
8809
  id: string;
8810
8810
  url: string;
@@ -9606,7 +9606,7 @@ export declare const chatContract: {
9606
9606
  editedMessageid: z.ZodString;
9607
9607
  label: z.ZodOptional<z.ZodString>;
9608
9608
  }, "strip", z.ZodTypeAny, {
9609
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
9609
+ type: string;
9610
9610
  message: string;
9611
9611
  id: string;
9612
9612
  url: string;
@@ -10168,7 +10168,7 @@ export declare const chatContract: {
10168
10168
  previewUrl: string;
10169
10169
  imageSetId: string;
10170
10170
  repliedMessage: {
10171
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10171
+ type: string;
10172
10172
  message: string;
10173
10173
  id: string;
10174
10174
  url: string;
@@ -10379,7 +10379,7 @@ export declare const chatContract: {
10379
10379
  template?: any;
10380
10380
  label?: string | undefined;
10381
10381
  }, {
10382
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10382
+ type: string;
10383
10383
  message: string;
10384
10384
  id: string;
10385
10385
  url: string;
@@ -10941,7 +10941,7 @@ export declare const chatContract: {
10941
10941
  previewUrl: string;
10942
10942
  imageSetId: string;
10943
10943
  repliedMessage: {
10944
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10944
+ type: string;
10945
10945
  message: string;
10946
10946
  id: string;
10947
10947
  url: string;
@@ -11154,7 +11154,7 @@ export declare const chatContract: {
11154
11154
  }>;
11155
11155
  }, "strip", z.ZodTypeAny, {
11156
11156
  data: {
11157
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11157
+ type: string;
11158
11158
  message: string;
11159
11159
  id: string;
11160
11160
  url: string;
@@ -11716,7 +11716,7 @@ export declare const chatContract: {
11716
11716
  previewUrl: string;
11717
11717
  imageSetId: string;
11718
11718
  repliedMessage: {
11719
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11719
+ type: string;
11720
11720
  message: string;
11721
11721
  id: string;
11722
11722
  url: string;
@@ -11930,7 +11930,7 @@ export declare const chatContract: {
11930
11930
  requestId: string;
11931
11931
  }, {
11932
11932
  data: {
11933
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11933
+ type: string;
11934
11934
  message: string;
11935
11935
  id: string;
11936
11936
  url: string;
@@ -12492,7 +12492,7 @@ export declare const chatContract: {
12492
12492
  previewUrl: string;
12493
12493
  imageSetId: string;
12494
12494
  repliedMessage: {
12495
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12495
+ type: string;
12496
12496
  message: string;
12497
12497
  id: string;
12498
12498
  url: string;
@@ -13327,7 +13327,7 @@ export declare const chatContract: {
13327
13327
  integrationId: string;
13328
13328
  } | null;
13329
13329
  }>;
13330
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13330
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
13331
13331
  status: z.ZodNumber;
13332
13332
  createdAt: z.ZodDate;
13333
13333
  updatedAt: z.ZodDate;