cv-contracts 1.0.43 → 2.0.1

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 (57) hide show
  1. package/dist/enums/MessageCaughtUpStatus.d.ts +5 -0
  2. package/dist/enums/MessageCaughtUpStatus.js +10 -0
  3. package/dist/enums/MessageCaughtUpStatus.js.map +1 -0
  4. package/dist/enums/index.d.ts +1 -0
  5. package/dist/enums/index.js +1 -0
  6. package/dist/enums/index.js.map +1 -1
  7. package/dist/interfaces/Attachment.d.ts +0 -3
  8. package/dist/interfaces/Message.d.ts +64 -20
  9. package/dist/schemas/AttachmentSchema.d.ts +1 -11
  10. package/dist/schemas/AttachmentSchema.js +0 -10
  11. package/dist/schemas/AttachmentSchema.js.map +1 -1
  12. package/dist/schemas/AudioInfoSchema.d.ts +29 -0
  13. package/dist/schemas/AudioInfoSchema.js +34 -0
  14. package/dist/schemas/AudioInfoSchema.js.map +1 -0
  15. package/dist/schemas/GetMessageResponseSchema.d.ts +209 -38
  16. package/dist/schemas/GetMessageResponseSchema.js +232 -55
  17. package/dist/schemas/GetMessageResponseSchema.js.map +1 -1
  18. package/dist/schemas/MessageAIResponseSchema.d.ts +18 -0
  19. package/dist/schemas/MessageAIResponseSchema.js +23 -0
  20. package/dist/schemas/MessageAIResponseSchema.js.map +1 -0
  21. package/dist/schemas/MessageSchema.d.ts +233 -57
  22. package/dist/schemas/MessageSchema.js +255 -73
  23. package/dist/schemas/MessageSchema.js.map +1 -1
  24. package/dist/schemas/MessageShareLinkSchema.d.ts +209 -38
  25. package/dist/schemas/MessageShareLinkSchema.js +232 -55
  26. package/dist/schemas/MessageShareLinkSchema.js.map +1 -1
  27. package/dist/schemas/MessageTimeCodeSchema.d.ts +22 -0
  28. package/dist/schemas/MessageTimeCodeSchema.js +27 -0
  29. package/dist/schemas/MessageTimeCodeSchema.js.map +1 -0
  30. package/dist/schemas/ReactionCountsSchema.d.ts +12 -0
  31. package/dist/schemas/ReactionCountsSchema.js +17 -0
  32. package/dist/schemas/ReactionCountsSchema.js.map +1 -0
  33. package/dist/schemas/ReactionSummarySchema.d.ts +42 -0
  34. package/dist/schemas/ReactionSummarySchema.js +47 -0
  35. package/dist/schemas/ReactionSummarySchema.js.map +1 -0
  36. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
  37. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js +27 -0
  38. package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
  39. package/dist/schemas/UserReactionSchema.d.ts +18 -0
  40. package/dist/schemas/UserReactionSchema.js +23 -0
  41. package/dist/schemas/UserReactionSchema.js.map +1 -0
  42. package/dist/schemas/UtmDataSchema.d.ts +29 -0
  43. package/dist/schemas/UtmDataSchema.js +34 -0
  44. package/dist/schemas/UtmDataSchema.js.map +1 -0
  45. package/dist/schemas/index.d.ts +8 -0
  46. package/dist/schemas/index.js +8 -0
  47. package/dist/schemas/index.js.map +1 -1
  48. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.d.ts +209 -38
  49. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js +232 -55
  50. package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js.map +1 -1
  51. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.d.ts +209 -38
  52. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js +232 -55
  53. package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js.map +1 -1
  54. package/dist/schemas/webhook/WebhookMessageSchema.d.ts +0 -7
  55. package/dist/schemas/webhook/WebhookMessageSchema.js +0 -7
  56. package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
  57. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ export declare enum MessageCaughtUpStatus {
2
+ all = "all",
3
+ some = "some",
4
+ none = "none"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageCaughtUpStatus = void 0;
4
+ var MessageCaughtUpStatus;
5
+ (function (MessageCaughtUpStatus) {
6
+ MessageCaughtUpStatus["all"] = "all";
7
+ MessageCaughtUpStatus["some"] = "some";
8
+ MessageCaughtUpStatus["none"] = "none";
9
+ })(MessageCaughtUpStatus = exports.MessageCaughtUpStatus || (exports.MessageCaughtUpStatus = {}));
10
+ //# sourceMappingURL=MessageCaughtUpStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageCaughtUpStatus.js","sourceRoot":"","sources":["../../src/enums/MessageCaughtUpStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,oCAAW,CAAA;IACX,sCAAa,CAAA;IACb,sCAAa,CAAA;AACf,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
@@ -16,3 +16,4 @@ export * from './ActionItemContainerType';
16
16
  export * from './Role';
17
17
  export * from './MessageShareLink';
18
18
  export * from './MessageKind';
19
+ export * from './MessageCaughtUpStatus';
@@ -32,4 +32,5 @@ __exportStar(require("./ActionItemContainerType"), exports);
32
32
  __exportStar(require("./Role"), exports);
33
33
  __exportStar(require("./MessageShareLink"), exports);
34
34
  __exportStar(require("./MessageKind"), exports);
35
+ __exportStar(require("./MessageCaughtUpStatus"), exports);
35
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB;AACvB,qDAAmC;AACnC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB;AACvB,qDAAmC;AACnC,gDAA8B;AAC9B,0DAAwC"}
@@ -5,10 +5,7 @@ export interface Attachment {
5
5
  created_at: string;
6
6
  type: AttachmentType;
7
7
  link: string;
8
- active_begin?: string | null;
9
- active_end?: string | null;
10
8
  filename?: string | null;
11
9
  mime_type?: string | null;
12
10
  length_in_bytes?: number | null;
13
- location?: unknown | null;
14
11
  }
@@ -1,28 +1,72 @@
1
1
  import { Attachment } from './Attachment';
2
- import { MessageKind, MessageStatus, MessageType } from '../enums';
2
+ import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '../enums';
3
+ export interface MessageAIResponse {
4
+ id: string;
5
+ prompt_id: string;
6
+ }
7
+ export interface MessageTimeCode {
8
+ t: string;
9
+ s: number;
10
+ e: number;
11
+ }
12
+ export interface UtmData {
13
+ utm_source?: string | null;
14
+ utm_medium?: string | null;
15
+ utm_campaign?: string | null;
16
+ utm_content?: string | null;
17
+ utm_term?: string | null;
18
+ }
19
+ export interface UserReaction {
20
+ user_id: string;
21
+ reaction_id: string;
22
+ }
23
+ export interface ReactionCounts {
24
+ [reaction_id: string]: number;
25
+ }
26
+ export interface ReactionSummary {
27
+ reaction_counts: ReactionCounts;
28
+ top_user_reactions: UserReaction[];
29
+ }
30
+ export interface UserNotAllowedReceiveNotifications {
31
+ user_id: string;
32
+ phone?: string;
33
+ email?: string;
34
+ }
35
+ export interface AudioInfo {
36
+ url?: string | null;
37
+ streaming_url?: string | null;
38
+ presigned_url?: string | null;
39
+ presigned_url_expiration_date?: string | null;
40
+ duration_ms?: number | null;
41
+ }
3
42
  export interface Message {
4
43
  id: string;
5
- name?: string | null;
6
- link: string;
7
- creator_id: string;
8
- conversation_id?: string | null;
9
- workspace_id?: string | null;
44
+ type: MessageType;
45
+ kind?: MessageKind | null;
10
46
  created_at: string;
11
- last_updated_at: string;
47
+ updated_at: string;
12
48
  deleted_at?: string | null;
13
- duration_ms: number;
14
- audio_url?: string | null;
15
- audio_stream_url?: string | null;
16
- transcript?: string | null;
17
- ai_summary?: string | null;
18
- has_ai_summary?: boolean;
19
- waveform_url?: string | null;
20
- reply_count: number;
21
- parent_message_id?: string | null;
22
- language?: string | null;
49
+ conversation_id?: string | null;
50
+ workspace_id: string;
51
+ creator_id: string;
23
52
  status: MessageStatus;
53
+ parent_message_id?: string | null;
24
54
  attachments?: Attachment[];
25
- type: MessageType;
26
- kind?: MessageKind | null;
27
- share_link_id?: string;
55
+ language?: string | null;
56
+ is_original_language?: boolean | null;
57
+ transcript?: string | null;
58
+ ai_summary?: string | null;
59
+ ai_response_ids?: MessageAIResponse[];
60
+ share_link_id?: string | null;
61
+ link: string;
62
+ time_codes?: MessageTimeCode[];
63
+ waveform_percentages?: number[];
64
+ folder_id?: string | null;
65
+ utm_data?: UtmData | null;
66
+ conversation_sequence?: number | null;
67
+ source_message_id?: string | null;
68
+ audio?: AudioInfo | null;
69
+ users_caught_up?: MessageCaughtUpStatus | null;
70
+ reaction_summary?: ReactionSummary | null;
71
+ users_not_allowed_to_receive_notifications?: UserNotAllowedReceiveNotifications[] | null;
28
72
  }
@@ -16,12 +16,6 @@ export declare const AttachmentSchema: {
16
16
  link: {
17
17
  type: string;
18
18
  };
19
- active_begin: {
20
- type: string[];
21
- };
22
- active_end: {
23
- type: string[];
24
- };
25
19
  filename: {
26
20
  type: string[];
27
21
  };
@@ -31,7 +25,6 @@ export declare const AttachmentSchema: {
31
25
  length_in_bytes: {
32
26
  type: string[];
33
27
  };
34
- location: {};
35
28
  };
36
29
  additionalProperties: boolean;
37
30
  required: string[];
@@ -49,10 +42,7 @@ export declare enum AttachmentKeys {
49
42
  created_at = "created_at",
50
43
  type = "type",
51
44
  link = "link",
52
- active_begin = "active_begin",
53
- active_end = "active_end",
54
45
  filename = "filename",
55
46
  mime_type = "mime_type",
56
- length_in_bytes = "length_in_bytes",
57
- location = "location"
47
+ length_in_bytes = "length_in_bytes"
58
48
  }
@@ -19,12 +19,6 @@ exports.AttachmentSchema = {
19
19
  link: {
20
20
  type: 'string',
21
21
  },
22
- active_begin: {
23
- type: ['null', 'string'],
24
- },
25
- active_end: {
26
- type: ['null', 'string'],
27
- },
28
22
  filename: {
29
23
  type: ['null', 'string'],
30
24
  },
@@ -34,7 +28,6 @@ exports.AttachmentSchema = {
34
28
  length_in_bytes: {
35
29
  type: ['null', 'number'],
36
30
  },
37
- location: {},
38
31
  },
39
32
  additionalProperties: false,
40
33
  required: ['created_at', 'creator_id', 'id', 'link', 'type'],
@@ -60,11 +53,8 @@ var AttachmentKeys;
60
53
  AttachmentKeys["created_at"] = "created_at";
61
54
  AttachmentKeys["type"] = "type";
62
55
  AttachmentKeys["link"] = "link";
63
- AttachmentKeys["active_begin"] = "active_begin";
64
- AttachmentKeys["active_end"] = "active_end";
65
56
  AttachmentKeys["filename"] = "filename";
66
57
  AttachmentKeys["mime_type"] = "mime_type";
67
58
  AttachmentKeys["length_in_bytes"] = "length_in_bytes";
68
- AttachmentKeys["location"] = "location";
69
59
  })(AttachmentKeys = exports.AttachmentKeys || (exports.AttachmentKeys = {}));
70
60
  //# sourceMappingURL=AttachmentSchema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentSchema.js","sourceRoot":"","sources":["../../src/schemas/AttachmentSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,8BAA8B;SACrC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,eAAe,EAAE;YACf,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,QAAQ,EAAE,EAAE;KACb;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IAC5D,WAAW,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,MAAM;gBACN,MAAM;gBACN,UAAU;gBACV,gBAAgB;gBAChB,cAAc;gBACd,gBAAgB;aACjB;SACF;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,cAYX;AAZD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qDAAmC,CAAA;IACnC,uCAAqB,CAAA;AACvB,CAAC,EAZW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAYzB"}
1
+ {"version":3,"file":"AttachmentSchema.js","sourceRoot":"","sources":["../../src/schemas/AttachmentSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,8BAA8B;SACrC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,eAAe,EAAE;YACf,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IAC5D,WAAW,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,MAAM;gBACN,MAAM;gBACN,UAAU;gBACV,gBAAgB;gBAChB,cAAc;gBACd,gBAAgB;aACjB;SACF;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,cASX;AATD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qDAAmC,CAAA;AACrC,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
@@ -0,0 +1,29 @@
1
+ export declare const AudioInfoSchema: {
2
+ type: string;
3
+ properties: {
4
+ url: {
5
+ type: string[];
6
+ };
7
+ streaming_url: {
8
+ type: string[];
9
+ };
10
+ presigned_url: {
11
+ type: string[];
12
+ };
13
+ presigned_url_expiration_date: {
14
+ type: string[];
15
+ };
16
+ duration_ms: {
17
+ type: string[];
18
+ };
19
+ };
20
+ additionalProperties: boolean;
21
+ $schema: string;
22
+ };
23
+ export declare enum AudioInfoKeys {
24
+ url = "url",
25
+ streaming_url = "streaming_url",
26
+ presigned_url = "presigned_url",
27
+ presigned_url_expiration_date = "presigned_url_expiration_date",
28
+ duration_ms = "duration_ms"
29
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AudioInfoKeys = exports.AudioInfoSchema = void 0;
4
+ exports.AudioInfoSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ url: {
8
+ type: ['null', 'string'],
9
+ },
10
+ streaming_url: {
11
+ type: ['null', 'string'],
12
+ },
13
+ presigned_url: {
14
+ type: ['null', 'string'],
15
+ },
16
+ presigned_url_expiration_date: {
17
+ type: ['null', 'string'],
18
+ },
19
+ duration_ms: {
20
+ type: ['null', 'number'],
21
+ },
22
+ },
23
+ additionalProperties: false,
24
+ $schema: 'http://json-schema.org/draft-07/schema#',
25
+ };
26
+ var AudioInfoKeys;
27
+ (function (AudioInfoKeys) {
28
+ AudioInfoKeys["url"] = "url";
29
+ AudioInfoKeys["streaming_url"] = "streaming_url";
30
+ AudioInfoKeys["presigned_url"] = "presigned_url";
31
+ AudioInfoKeys["presigned_url_expiration_date"] = "presigned_url_expiration_date";
32
+ AudioInfoKeys["duration_ms"] = "duration_ms";
33
+ })(AudioInfoKeys = exports.AudioInfoKeys || (exports.AudioInfoKeys = {}));
34
+ //# sourceMappingURL=AudioInfoSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AudioInfoSchema.js","sourceRoot":"","sources":["../../src/schemas/AudioInfoSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,aAAa,EAAE;YACb,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,aAAa,EAAE;YACb,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,6BAA6B,EAAE;YAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,gFAA+D,CAAA;IAC/D,4CAA2B,CAAA;AAC7B,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB"}
@@ -26,37 +26,52 @@ export declare const GetMessageResponseSchema: {
26
26
  id: {
27
27
  type: string;
28
28
  };
29
- name: {
30
- type: string[];
29
+ type: {
30
+ $ref: string;
31
31
  };
32
- link: {
32
+ kind: {
33
+ anyOf: ({
34
+ enum: string[];
35
+ type: string;
36
+ } | {
37
+ type: string;
38
+ enum?: undefined;
39
+ })[];
40
+ };
41
+ created_at: {
33
42
  type: string;
34
43
  };
35
- creator_id: {
44
+ updated_at: {
36
45
  type: string;
37
46
  };
38
- conversation_id: {
47
+ deleted_at: {
39
48
  type: string[];
40
49
  };
41
- workspace_id: {
50
+ conversation_id: {
42
51
  type: string[];
43
52
  };
44
- created_at: {
53
+ workspace_id: {
45
54
  type: string;
46
55
  };
47
- last_updated_at: {
56
+ creator_id: {
48
57
  type: string;
49
58
  };
50
- deleted_at: {
59
+ status: {
60
+ $ref: string;
61
+ };
62
+ parent_message_id: {
51
63
  type: string[];
52
64
  };
53
- duration_ms: {
65
+ attachments: {
54
66
  type: string;
67
+ items: {
68
+ $ref: string;
69
+ };
55
70
  };
56
- audio_url: {
71
+ language: {
57
72
  type: string[];
58
73
  };
59
- audio_stream_url: {
74
+ is_original_language: {
60
75
  type: string[];
61
76
  };
62
77
  transcript: {
@@ -65,34 +80,58 @@ export declare const GetMessageResponseSchema: {
65
80
  ai_summary: {
66
81
  type: string[];
67
82
  };
68
- has_ai_summary: {
83
+ ai_response_ids: {
69
84
  type: string;
85
+ items: {
86
+ $ref: string;
87
+ };
70
88
  };
71
- waveform_url: {
89
+ share_link_id: {
72
90
  type: string[];
73
91
  };
74
- reply_count: {
92
+ link: {
75
93
  type: string;
76
94
  };
77
- parent_message_id: {
95
+ time_codes: {
96
+ type: string;
97
+ items: {
98
+ $ref: string;
99
+ };
100
+ };
101
+ waveform_percentages: {
102
+ type: string;
103
+ items: {
104
+ type: string;
105
+ };
106
+ };
107
+ folder_id: {
78
108
  type: string[];
79
109
  };
80
- language: {
110
+ utm_data: {
111
+ anyOf: ({
112
+ $ref: string;
113
+ type?: undefined;
114
+ } | {
115
+ type: string;
116
+ $ref?: undefined;
117
+ })[];
118
+ };
119
+ conversation_sequence: {
81
120
  type: string[];
82
121
  };
83
- status: {
84
- $ref: string;
122
+ source_message_id: {
123
+ type: string[];
85
124
  };
86
- attachments: {
87
- type: string;
88
- items: {
125
+ audio: {
126
+ anyOf: ({
89
127
  $ref: string;
90
- };
91
- };
92
- type: {
93
- $ref: string;
128
+ type?: undefined;
129
+ } | {
130
+ type: string;
131
+ $ref?: undefined;
132
+ })[];
94
133
  };
95
- kind: {
134
+ users_caught_up: {
96
135
  anyOf: ({
97
136
  enum: string[];
98
137
  type: string;
@@ -101,13 +140,34 @@ export declare const GetMessageResponseSchema: {
101
140
  enum?: undefined;
102
141
  })[];
103
142
  };
104
- share_link_id: {
105
- type: string;
143
+ reaction_summary: {
144
+ anyOf: ({
145
+ $ref: string;
146
+ type?: undefined;
147
+ } | {
148
+ type: string;
149
+ $ref?: undefined;
150
+ })[];
151
+ };
152
+ users_not_allowed_to_receive_notifications: {
153
+ anyOf: ({
154
+ type: string;
155
+ items: {
156
+ $ref: string;
157
+ };
158
+ } | {
159
+ type: string;
160
+ items?: undefined;
161
+ })[];
106
162
  };
107
163
  };
108
164
  additionalProperties: boolean;
109
165
  required: string[];
110
166
  };
167
+ MessageType: {
168
+ type: string;
169
+ enum: string[];
170
+ };
111
171
  MessageStatus: {
112
172
  type: string;
113
173
  enum: string[];
@@ -130,12 +190,6 @@ export declare const GetMessageResponseSchema: {
130
190
  link: {
131
191
  type: string;
132
192
  };
133
- active_begin: {
134
- type: string[];
135
- };
136
- active_end: {
137
- type: string[];
138
- };
139
193
  filename: {
140
194
  type: string[];
141
195
  };
@@ -145,7 +199,6 @@ export declare const GetMessageResponseSchema: {
145
199
  length_in_bytes: {
146
200
  type: string[];
147
201
  };
148
- location: {};
149
202
  };
150
203
  additionalProperties: boolean;
151
204
  required: string[];
@@ -154,9 +207,127 @@ export declare const GetMessageResponseSchema: {
154
207
  type: string;
155
208
  enum: string[];
156
209
  };
157
- MessageType: {
210
+ MessageAIResponse: {
158
211
  type: string;
159
- enum: string[];
212
+ properties: {
213
+ id: {
214
+ type: string;
215
+ };
216
+ prompt_id: {
217
+ type: string;
218
+ };
219
+ };
220
+ additionalProperties: boolean;
221
+ required: string[];
222
+ };
223
+ MessageTimeCode: {
224
+ type: string;
225
+ properties: {
226
+ t: {
227
+ type: string;
228
+ };
229
+ s: {
230
+ type: string;
231
+ };
232
+ e: {
233
+ type: string;
234
+ };
235
+ };
236
+ additionalProperties: boolean;
237
+ required: string[];
238
+ };
239
+ UtmData: {
240
+ type: string;
241
+ properties: {
242
+ utm_source: {
243
+ type: string[];
244
+ };
245
+ utm_medium: {
246
+ type: string[];
247
+ };
248
+ utm_campaign: {
249
+ type: string[];
250
+ };
251
+ utm_content: {
252
+ type: string[];
253
+ };
254
+ utm_term: {
255
+ type: string[];
256
+ };
257
+ };
258
+ additionalProperties: boolean;
259
+ };
260
+ AudioInfo: {
261
+ type: string;
262
+ properties: {
263
+ url: {
264
+ type: string[];
265
+ };
266
+ streaming_url: {
267
+ type: string[];
268
+ };
269
+ presigned_url: {
270
+ type: string[];
271
+ };
272
+ presigned_url_expiration_date: {
273
+ type: string[];
274
+ };
275
+ duration_ms: {
276
+ type: string[];
277
+ };
278
+ };
279
+ additionalProperties: boolean;
280
+ };
281
+ ReactionSummary: {
282
+ type: string;
283
+ properties: {
284
+ reaction_counts: {
285
+ $ref: string;
286
+ };
287
+ top_user_reactions: {
288
+ type: string;
289
+ items: {
290
+ $ref: string;
291
+ };
292
+ };
293
+ };
294
+ additionalProperties: boolean;
295
+ required: string[];
296
+ };
297
+ ReactionCounts: {
298
+ type: string;
299
+ additionalProperties: {
300
+ type: string;
301
+ };
302
+ };
303
+ UserReaction: {
304
+ type: string;
305
+ properties: {
306
+ user_id: {
307
+ type: string;
308
+ };
309
+ reaction_id: {
310
+ type: string;
311
+ };
312
+ };
313
+ additionalProperties: boolean;
314
+ required: string[];
315
+ };
316
+ UserNotAllowedReceiveNotifications: {
317
+ type: string;
318
+ properties: {
319
+ user_id: {
320
+ type: string;
321
+ };
322
+ phone: {
323
+ type: string;
324
+ };
325
+ email: {
326
+ type: string;
327
+ };
328
+ };
329
+ additionalProperties: boolean;
330
+ required: string[];
160
331
  };
161
332
  User: {
162
333
  type: string;