cv-contracts 2.0.3 → 2.0.5

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 (74) hide show
  1. package/dist/interfaces/index.d.ts +1 -3
  2. package/dist/interfaces/index.js +1 -3
  3. package/dist/interfaces/index.js.map +1 -1
  4. package/dist/interfaces/{AttachmentV2.d.ts → v5/AttachmentV5.d.ts} +2 -2
  5. package/dist/interfaces/{AttachmentV2.js → v5/AttachmentV5.js} +1 -1
  6. package/dist/interfaces/v5/AttachmentV5.js.map +1 -0
  7. package/dist/interfaces/v5/GetMessageResponseV5.d.ts +4 -0
  8. package/dist/interfaces/{GetMessageResponseV2.js → v5/GetMessageResponseV5.js} +1 -1
  9. package/dist/interfaces/v5/GetMessageResponseV5.js.map +1 -0
  10. package/dist/interfaces/{MessageV3.d.ts → v5/MessageV5.d.ts} +4 -4
  11. package/dist/interfaces/{MessageV3.js → v5/MessageV5.js} +1 -1
  12. package/dist/interfaces/v5/MessageV5.js.map +1 -0
  13. package/dist/interfaces/v5/StatisticsV5.d.ts +15 -0
  14. package/dist/interfaces/v5/StatisticsV5.js +3 -0
  15. package/dist/interfaces/v5/StatisticsV5.js.map +1 -0
  16. package/dist/interfaces/v5/index.d.ts +4 -0
  17. package/dist/interfaces/v5/index.js +21 -0
  18. package/dist/interfaces/v5/index.js.map +1 -0
  19. package/dist/schemas/index.d.ts +1 -11
  20. package/dist/schemas/index.js +1 -11
  21. package/dist/schemas/index.js.map +1 -1
  22. package/dist/schemas/v5/AttachmentV5Schema.d.ts +48 -0
  23. package/dist/schemas/v5/AttachmentV5Schema.js +60 -0
  24. package/dist/schemas/v5/AttachmentV5Schema.js.map +1 -0
  25. package/dist/schemas/v5/AudioInfoSchema.d.ts +29 -0
  26. package/dist/schemas/v5/AudioInfoSchema.js +34 -0
  27. package/dist/schemas/v5/AudioInfoSchema.js.map +1 -0
  28. package/dist/schemas/v5/GetMessageResponseV5Schema.d.ts +325 -0
  29. package/dist/schemas/v5/GetMessageResponseV5Schema.js +374 -0
  30. package/dist/schemas/v5/GetMessageResponseV5Schema.js.map +1 -0
  31. package/dist/schemas/v5/LabelStatisticSchema.d.ts +26 -0
  32. package/dist/schemas/v5/LabelStatisticSchema.js +36 -0
  33. package/dist/schemas/v5/LabelStatisticSchema.js.map +1 -0
  34. package/dist/schemas/v5/MessageAIResponseSchema.d.ts +18 -0
  35. package/dist/schemas/v5/MessageAIResponseSchema.js +23 -0
  36. package/dist/schemas/v5/MessageAIResponseSchema.js.map +1 -0
  37. package/dist/schemas/v5/MessageStatisticSchema.d.ts +40 -0
  38. package/dist/schemas/v5/MessageStatisticSchema.js +52 -0
  39. package/dist/schemas/v5/MessageStatisticSchema.js.map +1 -0
  40. package/dist/schemas/v5/MessageTimeCodeSchema.d.ts +22 -0
  41. package/dist/schemas/v5/MessageTimeCodeSchema.js +27 -0
  42. package/dist/schemas/v5/MessageTimeCodeSchema.js.map +1 -0
  43. package/dist/schemas/v5/MessageV5Schema.d.ts +343 -0
  44. package/dist/schemas/v5/MessageV5Schema.js +392 -0
  45. package/dist/schemas/v5/MessageV5Schema.js.map +1 -0
  46. package/dist/schemas/v5/NotifiedMessageStatisticSchema.d.ts +22 -0
  47. package/dist/schemas/v5/NotifiedMessageStatisticSchema.js +27 -0
  48. package/dist/schemas/v5/NotifiedMessageStatisticSchema.js.map +1 -0
  49. package/dist/schemas/v5/ReactionCountsSchema.d.ts +12 -0
  50. package/dist/schemas/v5/ReactionCountsSchema.js +17 -0
  51. package/dist/schemas/v5/ReactionCountsSchema.js.map +1 -0
  52. package/dist/schemas/v5/ReactionSummarySchema.d.ts +42 -0
  53. package/dist/schemas/v5/ReactionSummarySchema.js +47 -0
  54. package/dist/schemas/v5/ReactionSummarySchema.js.map +1 -0
  55. package/dist/schemas/v5/StatisticsSchema.d.ts +61 -0
  56. package/dist/schemas/v5/StatisticsSchema.js +75 -0
  57. package/dist/schemas/v5/StatisticsSchema.js.map +1 -0
  58. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
  59. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js +27 -0
  60. package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
  61. package/dist/schemas/v5/UserReactionSchema.d.ts +18 -0
  62. package/dist/schemas/v5/UserReactionSchema.js +23 -0
  63. package/dist/schemas/v5/UserReactionSchema.js.map +1 -0
  64. package/dist/schemas/v5/UtmDataSchema.d.ts +29 -0
  65. package/dist/schemas/v5/UtmDataSchema.js +34 -0
  66. package/dist/schemas/v5/UtmDataSchema.js.map +1 -0
  67. package/dist/schemas/v5/index.d.ts +14 -0
  68. package/dist/schemas/v5/index.js +31 -0
  69. package/dist/schemas/v5/index.js.map +1 -0
  70. package/package.json +1 -1
  71. package/dist/interfaces/AttachmentV2.js.map +0 -1
  72. package/dist/interfaces/GetMessageResponseV2.d.ts +0 -4
  73. package/dist/interfaces/GetMessageResponseV2.js.map +0 -1
  74. package/dist/interfaces/MessageV3.js.map +0 -1
@@ -0,0 +1,26 @@
1
+ export declare const LabelStatisticSchema: {
2
+ type: string;
3
+ properties: {
4
+ label_id: {
5
+ type: string;
6
+ };
7
+ notified_messages: {
8
+ type: string;
9
+ };
10
+ total_messages: {
11
+ type: string;
12
+ };
13
+ oldest_notified_message_id: {
14
+ type: string[];
15
+ };
16
+ };
17
+ additionalProperties: boolean;
18
+ required: string[];
19
+ $schema: string;
20
+ };
21
+ export declare enum LabelStatisticKeys {
22
+ label_id = "label_id",
23
+ notified_messages = "notified_messages",
24
+ total_messages = "total_messages",
25
+ oldest_notified_message_id = "oldest_notified_message_id"
26
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LabelStatisticKeys = exports.LabelStatisticSchema = void 0;
4
+ exports.LabelStatisticSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ label_id: {
8
+ type: 'string',
9
+ },
10
+ notified_messages: {
11
+ type: 'number',
12
+ },
13
+ total_messages: {
14
+ type: 'number',
15
+ },
16
+ oldest_notified_message_id: {
17
+ type: ['null', 'string'],
18
+ },
19
+ },
20
+ additionalProperties: false,
21
+ required: [
22
+ 'label_id',
23
+ 'notified_messages',
24
+ 'oldest_notified_message_id',
25
+ 'total_messages',
26
+ ],
27
+ $schema: 'http://json-schema.org/draft-07/schema#',
28
+ };
29
+ var LabelStatisticKeys;
30
+ (function (LabelStatisticKeys) {
31
+ LabelStatisticKeys["label_id"] = "label_id";
32
+ LabelStatisticKeys["notified_messages"] = "notified_messages";
33
+ LabelStatisticKeys["total_messages"] = "total_messages";
34
+ LabelStatisticKeys["oldest_notified_message_id"] = "oldest_notified_message_id";
35
+ })(LabelStatisticKeys = exports.LabelStatisticKeys || (exports.LabelStatisticKeys = {}));
36
+ //# sourceMappingURL=LabelStatisticSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelStatisticSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/LabelStatisticSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,0BAA0B,EAAE;YAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,UAAU;QACV,mBAAmB;QACnB,4BAA4B;QAC5B,gBAAgB;KACjB;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,6DAAuC,CAAA;IACvC,uDAAiC,CAAA;IACjC,+EAAyD,CAAA;AAC3D,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B"}
@@ -0,0 +1,18 @@
1
+ export declare const MessageAIResponseSchema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ prompt_id: {
8
+ type: string;
9
+ };
10
+ };
11
+ additionalProperties: boolean;
12
+ required: string[];
13
+ $schema: string;
14
+ };
15
+ export declare enum MessageAIResponseKeys {
16
+ id = "id",
17
+ prompt_id = "prompt_id"
18
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageAIResponseKeys = exports.MessageAIResponseSchema = void 0;
4
+ exports.MessageAIResponseSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ id: {
8
+ type: 'string',
9
+ },
10
+ prompt_id: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ additionalProperties: false,
15
+ required: ['id', 'prompt_id'],
16
+ $schema: 'http://json-schema.org/draft-07/schema#',
17
+ };
18
+ var MessageAIResponseKeys;
19
+ (function (MessageAIResponseKeys) {
20
+ MessageAIResponseKeys["id"] = "id";
21
+ MessageAIResponseKeys["prompt_id"] = "prompt_id";
22
+ })(MessageAIResponseKeys = exports.MessageAIResponseKeys || (exports.MessageAIResponseKeys = {}));
23
+ //# sourceMappingURL=MessageAIResponseSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageAIResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/MessageAIResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC;IAC7B,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,kCAAS,CAAA;IACT,gDAAuB,CAAA;AACzB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
@@ -0,0 +1,40 @@
1
+ export declare const MessageStatisticSchema: {
2
+ type: string;
3
+ properties: {
4
+ group_id: {
5
+ type: string;
6
+ };
7
+ group_type: {
8
+ $ref: string;
9
+ };
10
+ total: {
11
+ type: string;
12
+ };
13
+ notified: {
14
+ type: string;
15
+ };
16
+ oldest_notified_message_id: {
17
+ type: string;
18
+ };
19
+ oldest_message_id: {
20
+ type: string;
21
+ };
22
+ };
23
+ additionalProperties: boolean;
24
+ required: string[];
25
+ definitions: {
26
+ GroupType: {
27
+ enum: string[];
28
+ type: string;
29
+ };
30
+ };
31
+ $schema: string;
32
+ };
33
+ export declare enum MessageStatisticKeys {
34
+ group_id = "group_id",
35
+ group_type = "group_type",
36
+ total = "total",
37
+ notified = "notified",
38
+ oldest_notified_message_id = "oldest_notified_message_id",
39
+ oldest_message_id = "oldest_message_id"
40
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageStatisticKeys = exports.MessageStatisticSchema = void 0;
4
+ exports.MessageStatisticSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ group_id: {
8
+ type: 'string',
9
+ },
10
+ group_type: {
11
+ $ref: '#/definitions/GroupType',
12
+ },
13
+ total: {
14
+ type: 'number',
15
+ },
16
+ notified: {
17
+ type: 'number',
18
+ },
19
+ oldest_notified_message_id: {
20
+ type: 'string',
21
+ },
22
+ oldest_message_id: {
23
+ type: 'string',
24
+ },
25
+ },
26
+ additionalProperties: false,
27
+ required: [
28
+ 'group_id',
29
+ 'group_type',
30
+ 'notified',
31
+ 'oldest_message_id',
32
+ 'oldest_notified_message_id',
33
+ 'total',
34
+ ],
35
+ definitions: {
36
+ GroupType: {
37
+ enum: ['conversation_id', 'label_id'],
38
+ type: 'string',
39
+ },
40
+ },
41
+ $schema: 'http://json-schema.org/draft-07/schema#',
42
+ };
43
+ var MessageStatisticKeys;
44
+ (function (MessageStatisticKeys) {
45
+ MessageStatisticKeys["group_id"] = "group_id";
46
+ MessageStatisticKeys["group_type"] = "group_type";
47
+ MessageStatisticKeys["total"] = "total";
48
+ MessageStatisticKeys["notified"] = "notified";
49
+ MessageStatisticKeys["oldest_notified_message_id"] = "oldest_notified_message_id";
50
+ MessageStatisticKeys["oldest_message_id"] = "oldest_message_id";
51
+ })(MessageStatisticKeys = exports.MessageStatisticKeys || (exports.MessageStatisticKeys = {}));
52
+ //# sourceMappingURL=MessageStatisticSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageStatisticSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/MessageStatisticSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,yBAAyB;SAChC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,0BAA0B,EAAE;YAC1B,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,UAAU;QACV,YAAY;QACZ,UAAU;QACV,mBAAmB;QACnB,4BAA4B;QAC5B,OAAO;KACR;IACD,WAAW,EAAE;QACX,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,iBAAiB,EAAE,UAAU,CAAC;YACrC,IAAI,EAAE,QAAQ;SACf;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,iDAAyB,CAAA;IACzB,uCAAe,CAAA;IACf,6CAAqB,CAAA;IACrB,iFAAyD,CAAA;IACzD,+DAAuC,CAAA;AACzC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B"}
@@ -0,0 +1,22 @@
1
+ export declare const MessageTimeCodeSchema: {
2
+ type: string;
3
+ properties: {
4
+ t: {
5
+ type: string;
6
+ };
7
+ s: {
8
+ type: string;
9
+ };
10
+ e: {
11
+ type: string;
12
+ };
13
+ };
14
+ additionalProperties: boolean;
15
+ required: string[];
16
+ $schema: string;
17
+ };
18
+ export declare enum MessageTimeCodeKeys {
19
+ t = "t",
20
+ s = "s",
21
+ e = "e"
22
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageTimeCodeKeys = exports.MessageTimeCodeSchema = void 0;
4
+ exports.MessageTimeCodeSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ t: {
8
+ type: 'string',
9
+ },
10
+ s: {
11
+ type: 'number',
12
+ },
13
+ e: {
14
+ type: 'number',
15
+ },
16
+ },
17
+ additionalProperties: false,
18
+ required: ['e', 's', 't'],
19
+ $schema: 'http://json-schema.org/draft-07/schema#',
20
+ };
21
+ var MessageTimeCodeKeys;
22
+ (function (MessageTimeCodeKeys) {
23
+ MessageTimeCodeKeys["t"] = "t";
24
+ MessageTimeCodeKeys["s"] = "s";
25
+ MessageTimeCodeKeys["e"] = "e";
26
+ })(MessageTimeCodeKeys = exports.MessageTimeCodeKeys || (exports.MessageTimeCodeKeys = {}));
27
+ //# sourceMappingURL=MessageTimeCodeSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageTimeCodeSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/MessageTimeCodeSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;SACf;QACD,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;SACf;QACD,CAAC,EAAE;YACD,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACzB,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,8BAAO,CAAA;IACP,8BAAO,CAAA;IACP,8BAAO,CAAA;AACT,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B"}
@@ -0,0 +1,343 @@
1
+ export declare const MessageV5Schema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ type: {
8
+ $ref: string;
9
+ };
10
+ kind: {
11
+ anyOf: ({
12
+ enum: string[];
13
+ type: string;
14
+ } | {
15
+ type: string;
16
+ enum?: undefined;
17
+ })[];
18
+ };
19
+ created_at: {
20
+ type: string;
21
+ };
22
+ updated_at: {
23
+ type: string;
24
+ };
25
+ deleted_at: {
26
+ type: string[];
27
+ };
28
+ conversation_id: {
29
+ type: string[];
30
+ };
31
+ workspace_id: {
32
+ type: string;
33
+ };
34
+ creator_id: {
35
+ type: string;
36
+ };
37
+ status: {
38
+ $ref: string;
39
+ };
40
+ parent_message_id: {
41
+ type: string[];
42
+ };
43
+ attachments: {
44
+ type: string;
45
+ items: {
46
+ $ref: string;
47
+ };
48
+ };
49
+ language: {
50
+ type: string[];
51
+ };
52
+ is_original_language: {
53
+ type: string[];
54
+ };
55
+ transcript: {
56
+ type: string[];
57
+ };
58
+ ai_summary: {
59
+ type: string[];
60
+ };
61
+ ai_response_ids: {
62
+ type: string;
63
+ items: {
64
+ $ref: string;
65
+ };
66
+ };
67
+ share_link_id: {
68
+ type: string[];
69
+ };
70
+ link: {
71
+ type: string;
72
+ };
73
+ time_codes: {
74
+ type: string;
75
+ items: {
76
+ $ref: string;
77
+ };
78
+ };
79
+ waveform_percentages: {
80
+ type: string;
81
+ items: {
82
+ type: string;
83
+ };
84
+ };
85
+ folder_id: {
86
+ type: string[];
87
+ };
88
+ utm_data: {
89
+ anyOf: ({
90
+ $ref: string;
91
+ type?: undefined;
92
+ } | {
93
+ type: string;
94
+ $ref?: undefined;
95
+ })[];
96
+ };
97
+ conversation_sequence: {
98
+ type: string[];
99
+ };
100
+ source_message_id: {
101
+ type: string[];
102
+ };
103
+ audio: {
104
+ anyOf: ({
105
+ $ref: string;
106
+ type?: undefined;
107
+ } | {
108
+ type: string;
109
+ $ref?: undefined;
110
+ })[];
111
+ };
112
+ users_caught_up: {
113
+ anyOf: ({
114
+ enum: string[];
115
+ type: string;
116
+ } | {
117
+ type: string;
118
+ enum?: undefined;
119
+ })[];
120
+ };
121
+ reaction_summary: {
122
+ anyOf: ({
123
+ $ref: string;
124
+ type?: undefined;
125
+ } | {
126
+ type: string;
127
+ $ref?: undefined;
128
+ })[];
129
+ };
130
+ users_not_allowed_to_receive_notifications: {
131
+ anyOf: ({
132
+ type: string;
133
+ items: {
134
+ $ref: string;
135
+ };
136
+ } | {
137
+ type: string;
138
+ items?: undefined;
139
+ })[];
140
+ };
141
+ };
142
+ additionalProperties: boolean;
143
+ required: string[];
144
+ definitions: {
145
+ MessageType: {
146
+ type: string;
147
+ enum: string[];
148
+ };
149
+ MessageStatus: {
150
+ type: string;
151
+ enum: string[];
152
+ };
153
+ AttachmentV5: {
154
+ type: string;
155
+ properties: {
156
+ id: {
157
+ type: string;
158
+ };
159
+ creator_id: {
160
+ type: string;
161
+ };
162
+ created_at: {
163
+ type: string;
164
+ };
165
+ type: {
166
+ $ref: string;
167
+ };
168
+ link: {
169
+ type: string;
170
+ };
171
+ filename: {
172
+ type: string[];
173
+ };
174
+ mime_type: {
175
+ type: string[];
176
+ };
177
+ length_in_bytes: {
178
+ type: string[];
179
+ };
180
+ };
181
+ additionalProperties: boolean;
182
+ required: string[];
183
+ };
184
+ AttachmentType: {
185
+ type: string;
186
+ enum: string[];
187
+ };
188
+ MessageAIResponse: {
189
+ type: string;
190
+ properties: {
191
+ id: {
192
+ type: string;
193
+ };
194
+ prompt_id: {
195
+ type: string;
196
+ };
197
+ };
198
+ additionalProperties: boolean;
199
+ required: string[];
200
+ };
201
+ MessageTimeCode: {
202
+ type: string;
203
+ properties: {
204
+ t: {
205
+ type: string;
206
+ };
207
+ s: {
208
+ type: string;
209
+ };
210
+ e: {
211
+ type: string;
212
+ };
213
+ };
214
+ additionalProperties: boolean;
215
+ required: string[];
216
+ };
217
+ UtmData: {
218
+ type: string;
219
+ properties: {
220
+ utm_source: {
221
+ type: string[];
222
+ };
223
+ utm_medium: {
224
+ type: string[];
225
+ };
226
+ utm_campaign: {
227
+ type: string[];
228
+ };
229
+ utm_content: {
230
+ type: string[];
231
+ };
232
+ utm_term: {
233
+ type: string[];
234
+ };
235
+ };
236
+ additionalProperties: boolean;
237
+ };
238
+ AudioInfo: {
239
+ type: string;
240
+ properties: {
241
+ url: {
242
+ type: string[];
243
+ };
244
+ streaming_url: {
245
+ type: string[];
246
+ };
247
+ presigned_url: {
248
+ type: string[];
249
+ };
250
+ presigned_url_expiration_date: {
251
+ type: string[];
252
+ };
253
+ duration_ms: {
254
+ type: string[];
255
+ };
256
+ };
257
+ additionalProperties: boolean;
258
+ };
259
+ ReactionSummary: {
260
+ type: string;
261
+ properties: {
262
+ reaction_counts: {
263
+ $ref: string;
264
+ };
265
+ top_user_reactions: {
266
+ type: string;
267
+ items: {
268
+ $ref: string;
269
+ };
270
+ };
271
+ };
272
+ additionalProperties: boolean;
273
+ required: string[];
274
+ };
275
+ ReactionCounts: {
276
+ type: string;
277
+ additionalProperties: {
278
+ type: string;
279
+ };
280
+ };
281
+ UserReaction: {
282
+ type: string;
283
+ properties: {
284
+ user_id: {
285
+ type: string;
286
+ };
287
+ reaction_id: {
288
+ type: string;
289
+ };
290
+ };
291
+ additionalProperties: boolean;
292
+ required: string[];
293
+ };
294
+ UserNotAllowedReceiveNotifications: {
295
+ type: string;
296
+ properties: {
297
+ user_id: {
298
+ type: string;
299
+ };
300
+ phone: {
301
+ type: string;
302
+ };
303
+ email: {
304
+ type: string;
305
+ };
306
+ };
307
+ additionalProperties: boolean;
308
+ required: string[];
309
+ };
310
+ };
311
+ $schema: string;
312
+ };
313
+ export declare enum MessageV5Keys {
314
+ id = "id",
315
+ type = "type",
316
+ kind = "kind",
317
+ created_at = "created_at",
318
+ updated_at = "updated_at",
319
+ deleted_at = "deleted_at",
320
+ conversation_id = "conversation_id",
321
+ workspace_id = "workspace_id",
322
+ creator_id = "creator_id",
323
+ status = "status",
324
+ parent_message_id = "parent_message_id",
325
+ attachments = "attachments",
326
+ language = "language",
327
+ is_original_language = "is_original_language",
328
+ transcript = "transcript",
329
+ ai_summary = "ai_summary",
330
+ ai_response_ids = "ai_response_ids",
331
+ share_link_id = "share_link_id",
332
+ link = "link",
333
+ time_codes = "time_codes",
334
+ waveform_percentages = "waveform_percentages",
335
+ folder_id = "folder_id",
336
+ utm_data = "utm_data",
337
+ conversation_sequence = "conversation_sequence",
338
+ source_message_id = "source_message_id",
339
+ audio = "audio",
340
+ users_caught_up = "users_caught_up",
341
+ reaction_summary = "reaction_summary",
342
+ users_not_allowed_to_receive_notifications = "users_not_allowed_to_receive_notifications"
343
+ }