cv-contracts 1.0.42 → 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.
- package/dist/enums/ActionItemContainerType.d.ts +2 -1
- package/dist/enums/ActionItemContainerType.js +1 -0
- package/dist/enums/ActionItemContainerType.js.map +1 -1
- package/dist/enums/MessageCaughtUpStatus.d.ts +5 -0
- package/dist/enums/MessageCaughtUpStatus.js +10 -0
- package/dist/enums/MessageCaughtUpStatus.js.map +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/interfaces/Attachment.d.ts +0 -3
- package/dist/interfaces/Message.d.ts +64 -20
- package/dist/schemas/ActionItemSchema.js +1 -1
- package/dist/schemas/ActionItemSchema.js.map +1 -1
- package/dist/schemas/AttachmentSchema.d.ts +1 -11
- package/dist/schemas/AttachmentSchema.js +0 -10
- package/dist/schemas/AttachmentSchema.js.map +1 -1
- package/dist/schemas/AudioInfoSchema.d.ts +29 -0
- package/dist/schemas/AudioInfoSchema.js +34 -0
- package/dist/schemas/AudioInfoSchema.js.map +1 -0
- package/dist/schemas/GetMessageResponseSchema.d.ts +209 -38
- package/dist/schemas/GetMessageResponseSchema.js +232 -55
- package/dist/schemas/GetMessageResponseSchema.js.map +1 -1
- package/dist/schemas/MessageAIResponseSchema.d.ts +18 -0
- package/dist/schemas/MessageAIResponseSchema.js +23 -0
- package/dist/schemas/MessageAIResponseSchema.js.map +1 -0
- package/dist/schemas/MessageSchema.d.ts +233 -57
- package/dist/schemas/MessageSchema.js +255 -73
- package/dist/schemas/MessageSchema.js.map +1 -1
- package/dist/schemas/MessageShareLinkSchema.d.ts +209 -38
- package/dist/schemas/MessageShareLinkSchema.js +232 -55
- package/dist/schemas/MessageShareLinkSchema.js.map +1 -1
- package/dist/schemas/MessageTimeCodeSchema.d.ts +22 -0
- package/dist/schemas/MessageTimeCodeSchema.js +27 -0
- package/dist/schemas/MessageTimeCodeSchema.js.map +1 -0
- package/dist/schemas/ReactionCountsSchema.d.ts +12 -0
- package/dist/schemas/ReactionCountsSchema.js +17 -0
- package/dist/schemas/ReactionCountsSchema.js.map +1 -0
- package/dist/schemas/ReactionSummarySchema.d.ts +42 -0
- package/dist/schemas/ReactionSummarySchema.js +47 -0
- package/dist/schemas/ReactionSummarySchema.js.map +1 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js +27 -0
- package/dist/schemas/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
- package/dist/schemas/UserReactionSchema.d.ts +18 -0
- package/dist/schemas/UserReactionSchema.js +23 -0
- package/dist/schemas/UserReactionSchema.js.map +1 -0
- package/dist/schemas/UtmDataSchema.d.ts +29 -0
- package/dist/schemas/UtmDataSchema.js +34 -0
- package/dist/schemas/UtmDataSchema.js.map +1 -0
- package/dist/schemas/index.d.ts +8 -0
- package/dist/schemas/index.js +8 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.d.ts +209 -38
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js +232 -55
- package/dist/schemas/webhook/WebhookAIPromptResponseGeneratedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.d.ts +209 -38
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js +232 -55
- package/dist/schemas/webhook/WebhookLabelAddedToMessageSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookMessageSchema.d.ts +0 -7
- package/dist/schemas/webhook/WebhookMessageSchema.js +0 -7
- package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,5 +5,6 @@ var ActionItemContainerType;
|
|
|
5
5
|
(function (ActionItemContainerType) {
|
|
6
6
|
ActionItemContainerType["Channel"] = "channel";
|
|
7
7
|
ActionItemContainerType["Folder"] = "folder";
|
|
8
|
+
ActionItemContainerType["Home"] = "home";
|
|
8
9
|
})(ActionItemContainerType = exports.ActionItemContainerType || (exports.ActionItemContainerType = {}));
|
|
9
10
|
//# sourceMappingURL=ActionItemContainerType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionItemContainerType.js","sourceRoot":"","sources":["../../src/enums/ActionItemContainerType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ActionItemContainerType.js","sourceRoot":"","sources":["../../src/enums/ActionItemContainerType.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,wCAAa,CAAA;AACf,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
|
|
@@ -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"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -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
|
package/dist/enums/index.js.map
CHANGED
|
@@ -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
|
-
|
|
6
|
-
|
|
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
|
-
|
|
47
|
+
updated_at: string;
|
|
12
48
|
deleted_at?: string | null;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionItemSchema.js","sourceRoot":"","sources":["../../src/schemas/ActionItemSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,MAAM,EAAE;YACN,IAAI,EAAE,gCAAgC;SACvC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionItemSchema.js","sourceRoot":"","sources":["../../src/schemas/ActionItemSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,MAAM,EAAE;YACN,IAAI,EAAE,gCAAgC;SACvC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;YACnC,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACpB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACpB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACpB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;SACpB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,YAAY;QACZ,IAAI;QACJ,iBAAiB;QACjB,QAAQ;QACR,OAAO;QACP,YAAY;QACZ,cAAc;KACf;IACD,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC;SACpC;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,cAgBX;AAhBD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,qDAAmC,CAAA;IACnC,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,mDAAiC,CAAA;IACjC,yDAAuC,CAAA;IACvC,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;AAC3B,CAAC,EAhBW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAgBzB"}
|
|
@@ -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,
|
|
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
|
-
|
|
30
|
-
|
|
29
|
+
type: {
|
|
30
|
+
$ref: string;
|
|
31
31
|
};
|
|
32
|
-
|
|
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
|
-
|
|
44
|
+
updated_at: {
|
|
36
45
|
type: string;
|
|
37
46
|
};
|
|
38
|
-
|
|
47
|
+
deleted_at: {
|
|
39
48
|
type: string[];
|
|
40
49
|
};
|
|
41
|
-
|
|
50
|
+
conversation_id: {
|
|
42
51
|
type: string[];
|
|
43
52
|
};
|
|
44
|
-
|
|
53
|
+
workspace_id: {
|
|
45
54
|
type: string;
|
|
46
55
|
};
|
|
47
|
-
|
|
56
|
+
creator_id: {
|
|
48
57
|
type: string;
|
|
49
58
|
};
|
|
50
|
-
|
|
59
|
+
status: {
|
|
60
|
+
$ref: string;
|
|
61
|
+
};
|
|
62
|
+
parent_message_id: {
|
|
51
63
|
type: string[];
|
|
52
64
|
};
|
|
53
|
-
|
|
65
|
+
attachments: {
|
|
54
66
|
type: string;
|
|
67
|
+
items: {
|
|
68
|
+
$ref: string;
|
|
69
|
+
};
|
|
55
70
|
};
|
|
56
|
-
|
|
71
|
+
language: {
|
|
57
72
|
type: string[];
|
|
58
73
|
};
|
|
59
|
-
|
|
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
|
-
|
|
83
|
+
ai_response_ids: {
|
|
69
84
|
type: string;
|
|
85
|
+
items: {
|
|
86
|
+
$ref: string;
|
|
87
|
+
};
|
|
70
88
|
};
|
|
71
|
-
|
|
89
|
+
share_link_id: {
|
|
72
90
|
type: string[];
|
|
73
91
|
};
|
|
74
|
-
|
|
92
|
+
link: {
|
|
75
93
|
type: string;
|
|
76
94
|
};
|
|
77
|
-
|
|
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
|
-
|
|
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
|
-
|
|
84
|
-
|
|
122
|
+
source_message_id: {
|
|
123
|
+
type: string[];
|
|
85
124
|
};
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
items: {
|
|
125
|
+
audio: {
|
|
126
|
+
anyOf: ({
|
|
89
127
|
$ref: string;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
128
|
+
type?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
type: string;
|
|
131
|
+
$ref?: undefined;
|
|
132
|
+
})[];
|
|
94
133
|
};
|
|
95
|
-
|
|
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
|
-
|
|
105
|
-
|
|
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
|
-
|
|
210
|
+
MessageAIResponse: {
|
|
158
211
|
type: string;
|
|
159
|
-
|
|
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;
|