cv-contracts 5.1.1 → 5.1.3
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/MessageSource.d.ts +4 -0
- package/dist/enums/MessageSource.js +9 -0
- package/dist/enums/MessageSource.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/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/v6/MessageV6.d.ts +54 -0
- package/dist/interfaces/v6/MessageV6.js +3 -0
- package/dist/interfaces/v6/MessageV6.js.map +1 -0
- package/dist/interfaces/v6/index.d.ts +1 -0
- package/dist/interfaces/v6/index.js +18 -0
- package/dist/interfaces/v6/index.js.map +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/v6/MessageContentSchema.d.ts +76 -0
- package/dist/schemas/v6/MessageContentSchema.js +81 -0
- package/dist/schemas/v6/MessageContentSchema.js.map +1 -0
- package/dist/schemas/v6/MessageV6Schema.d.ts +412 -0
- package/dist/schemas/v6/MessageV6Schema.js +470 -0
- package/dist/schemas/v6/MessageV6Schema.js.map +1 -0
- package/dist/schemas/v6/index.d.ts +2 -0
- package/dist/schemas/v6/index.js +19 -0
- package/dist/schemas/v6/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageSource = void 0;
|
|
4
|
+
var MessageSource;
|
|
5
|
+
(function (MessageSource) {
|
|
6
|
+
MessageSource["EMAIL_INGESTION"] = "email_ingestion";
|
|
7
|
+
MessageSource["REMINDER_USER_ID"] = "reminder_user_id";
|
|
8
|
+
})(MessageSource = exports.MessageSource || (exports.MessageSource = {}));
|
|
9
|
+
//# sourceMappingURL=MessageSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageSource.js","sourceRoot":"","sources":["../../src/enums/MessageSource.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oDAAmC,CAAA;IACnC,sDAAqC,CAAA;AACvC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -35,4 +35,5 @@ __exportStar(require("./MessageShareLink"), exports);
|
|
|
35
35
|
__exportStar(require("./MessageKind"), exports);
|
|
36
36
|
__exportStar(require("./MessageCaughtUpStatus"), exports);
|
|
37
37
|
__exportStar(require("./Direction"), exports);
|
|
38
|
+
__exportStar(require("./MessageSource"), exports);
|
|
38
39
|
//# 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,qDAAmC;AACnC,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;AACxC,8CAA4B"}
|
|
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,qDAAmC;AACnC,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;AACxC,8CAA4B;AAC5B,kDAAgC"}
|
package/dist/interfaces/index.js
CHANGED
|
@@ -29,4 +29,5 @@ __exportStar(require("./AIShareLinkPromptResponse"), exports);
|
|
|
29
29
|
__exportStar(require("./ActionItem"), exports);
|
|
30
30
|
__exportStar(require("./MessageShareLink"), exports);
|
|
31
31
|
__exportStar(require("./v5"), exports);
|
|
32
|
+
__exportStar(require("./v6"), exports);
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,qDAAmC;AACnC,uCAAqB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,qDAAmC;AACnC,uCAAqB;AACrB,uCAAqB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { MessageCaughtUpStatus, MessageKind, MessageSource, MessageStatus, MessageType } from '../../enums';
|
|
2
|
+
import { AttachmentV5, MessageAIResponse, MessageTimeCode, ReactionSummary, UserNotAllowedReceiveNotifications, UtmData } from '../v5';
|
|
3
|
+
/** Content of a message in one language: audio plus transcript data. */
|
|
4
|
+
export interface MessageContent {
|
|
5
|
+
ai_summary?: string | null;
|
|
6
|
+
transcript?: string | null;
|
|
7
|
+
time_codes?: MessageTimeCode[];
|
|
8
|
+
is_original_language?: boolean | null;
|
|
9
|
+
language?: string | null;
|
|
10
|
+
presigned_url?: string | null;
|
|
11
|
+
presigned_url_expiration_date?: string | null;
|
|
12
|
+
url?: string | null;
|
|
13
|
+
streaming_url?: string | null;
|
|
14
|
+
duration_ms?: number | null;
|
|
15
|
+
/** Waveform percentages encoded as a compressed string. */
|
|
16
|
+
waveform_percentage?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface MessageV6 {
|
|
19
|
+
id: string;
|
|
20
|
+
type: MessageType;
|
|
21
|
+
kind?: MessageKind | null;
|
|
22
|
+
created_at: string;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
deleted_at?: string | null;
|
|
25
|
+
conversation_id?: string | null;
|
|
26
|
+
workspace_id: string;
|
|
27
|
+
creator_id: string;
|
|
28
|
+
status: MessageStatus;
|
|
29
|
+
/** The id of the message or its parent. If it's not equal to id then it's a reply. */
|
|
30
|
+
thread_id: string;
|
|
31
|
+
idempotency_key?: string | null;
|
|
32
|
+
attachments?: AttachmentV5[];
|
|
33
|
+
available_languages?: string[] | null;
|
|
34
|
+
original_language?: string | null;
|
|
35
|
+
ai_response_ids?: MessageAIResponse[];
|
|
36
|
+
share_link_id?: string | null;
|
|
37
|
+
link: string;
|
|
38
|
+
folder_id?: string | null;
|
|
39
|
+
utm_data?: UtmData | null;
|
|
40
|
+
conversation_sequence?: number | null;
|
|
41
|
+
source_message_id?: string | null;
|
|
42
|
+
audio?: MessageContent | null;
|
|
43
|
+
users_caught_up?: MessageCaughtUpStatus | null;
|
|
44
|
+
reaction_summary?: ReactionSummary | null;
|
|
45
|
+
users_not_allowed_to_receive_notifications?: UserNotAllowedReceiveNotifications[] | null;
|
|
46
|
+
source?: MessageSource | null;
|
|
47
|
+
source_value?: string | null;
|
|
48
|
+
tagged_user_ids: string[];
|
|
49
|
+
heard_ms?: number | null;
|
|
50
|
+
label_ids?: string[] | null;
|
|
51
|
+
notify?: boolean | null;
|
|
52
|
+
notes?: string | null;
|
|
53
|
+
last_heard_update?: string | null;
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageV6.js","sourceRoot":"","sources":["../../../src/interfaces/v6/MessageV6.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MessageV6';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MessageV6"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v6/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -29,5 +29,6 @@ __exportStar(require("./ResponseByLanguageSchema"), exports);
|
|
|
29
29
|
__exportStar(require("./UserSchema"), exports);
|
|
30
30
|
__exportStar(require("./WorkspaceSchema"), exports);
|
|
31
31
|
__exportStar(require("./v5"), exports);
|
|
32
|
+
__exportStar(require("./v6"), exports);
|
|
32
33
|
__exportStar(require("./webhook"), exports);
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,uCAAqB;AACrB,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,uCAAqB;AACrB,uCAAqB;AACrB,4CAA0B"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const MessageContentSchema: {
|
|
2
|
+
description: string;
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
ai_summary: {
|
|
6
|
+
type: string[];
|
|
7
|
+
};
|
|
8
|
+
transcript: {
|
|
9
|
+
type: string[];
|
|
10
|
+
};
|
|
11
|
+
time_codes: {
|
|
12
|
+
type: string;
|
|
13
|
+
items: {
|
|
14
|
+
$ref: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
is_original_language: {
|
|
18
|
+
type: string[];
|
|
19
|
+
};
|
|
20
|
+
language: {
|
|
21
|
+
type: string[];
|
|
22
|
+
};
|
|
23
|
+
presigned_url: {
|
|
24
|
+
type: string[];
|
|
25
|
+
};
|
|
26
|
+
presigned_url_expiration_date: {
|
|
27
|
+
type: string[];
|
|
28
|
+
};
|
|
29
|
+
url: {
|
|
30
|
+
type: string[];
|
|
31
|
+
};
|
|
32
|
+
streaming_url: {
|
|
33
|
+
type: string[];
|
|
34
|
+
};
|
|
35
|
+
duration_ms: {
|
|
36
|
+
type: string[];
|
|
37
|
+
};
|
|
38
|
+
waveform_percentage: {
|
|
39
|
+
description: string;
|
|
40
|
+
type: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
additionalProperties: boolean;
|
|
44
|
+
definitions: {
|
|
45
|
+
MessageTimeCode: {
|
|
46
|
+
type: string;
|
|
47
|
+
properties: {
|
|
48
|
+
t: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
s: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
e: {
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
additionalProperties: boolean;
|
|
59
|
+
required: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
$schema: string;
|
|
63
|
+
};
|
|
64
|
+
export declare enum MessageContentKeys {
|
|
65
|
+
ai_summary = "ai_summary",
|
|
66
|
+
transcript = "transcript",
|
|
67
|
+
time_codes = "time_codes",
|
|
68
|
+
is_original_language = "is_original_language",
|
|
69
|
+
language = "language",
|
|
70
|
+
presigned_url = "presigned_url",
|
|
71
|
+
presigned_url_expiration_date = "presigned_url_expiration_date",
|
|
72
|
+
url = "url",
|
|
73
|
+
streaming_url = "streaming_url",
|
|
74
|
+
duration_ms = "duration_ms",
|
|
75
|
+
waveform_percentage = "waveform_percentage"
|
|
76
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageContentKeys = exports.MessageContentSchema = void 0;
|
|
4
|
+
exports.MessageContentSchema = {
|
|
5
|
+
description: 'Content of a message in one language: audio plus transcript data.',
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
ai_summary: {
|
|
9
|
+
type: ['null', 'string'],
|
|
10
|
+
},
|
|
11
|
+
transcript: {
|
|
12
|
+
type: ['null', 'string'],
|
|
13
|
+
},
|
|
14
|
+
time_codes: {
|
|
15
|
+
type: 'array',
|
|
16
|
+
items: {
|
|
17
|
+
$ref: '#/definitions/MessageTimeCode',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
is_original_language: {
|
|
21
|
+
type: ['null', 'boolean'],
|
|
22
|
+
},
|
|
23
|
+
language: {
|
|
24
|
+
type: ['null', 'string'],
|
|
25
|
+
},
|
|
26
|
+
presigned_url: {
|
|
27
|
+
type: ['null', 'string'],
|
|
28
|
+
},
|
|
29
|
+
presigned_url_expiration_date: {
|
|
30
|
+
type: ['null', 'string'],
|
|
31
|
+
},
|
|
32
|
+
url: {
|
|
33
|
+
type: ['null', 'string'],
|
|
34
|
+
},
|
|
35
|
+
streaming_url: {
|
|
36
|
+
type: ['null', 'string'],
|
|
37
|
+
},
|
|
38
|
+
duration_ms: {
|
|
39
|
+
type: ['null', 'number'],
|
|
40
|
+
},
|
|
41
|
+
waveform_percentage: {
|
|
42
|
+
description: 'Waveform percentages encoded as a compressed string.',
|
|
43
|
+
type: ['null', 'string'],
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
additionalProperties: false,
|
|
47
|
+
definitions: {
|
|
48
|
+
MessageTimeCode: {
|
|
49
|
+
type: 'object',
|
|
50
|
+
properties: {
|
|
51
|
+
t: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
},
|
|
54
|
+
s: {
|
|
55
|
+
type: 'number',
|
|
56
|
+
},
|
|
57
|
+
e: {
|
|
58
|
+
type: 'number',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
additionalProperties: false,
|
|
62
|
+
required: ['e', 's', 't'],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
66
|
+
};
|
|
67
|
+
var MessageContentKeys;
|
|
68
|
+
(function (MessageContentKeys) {
|
|
69
|
+
MessageContentKeys["ai_summary"] = "ai_summary";
|
|
70
|
+
MessageContentKeys["transcript"] = "transcript";
|
|
71
|
+
MessageContentKeys["time_codes"] = "time_codes";
|
|
72
|
+
MessageContentKeys["is_original_language"] = "is_original_language";
|
|
73
|
+
MessageContentKeys["language"] = "language";
|
|
74
|
+
MessageContentKeys["presigned_url"] = "presigned_url";
|
|
75
|
+
MessageContentKeys["presigned_url_expiration_date"] = "presigned_url_expiration_date";
|
|
76
|
+
MessageContentKeys["url"] = "url";
|
|
77
|
+
MessageContentKeys["streaming_url"] = "streaming_url";
|
|
78
|
+
MessageContentKeys["duration_ms"] = "duration_ms";
|
|
79
|
+
MessageContentKeys["waveform_percentage"] = "waveform_percentage";
|
|
80
|
+
})(MessageContentKeys = exports.MessageContentKeys || (exports.MessageContentKeys = {}));
|
|
81
|
+
//# sourceMappingURL=MessageContentSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageContentSchema.js","sourceRoot":"","sources":["../../../src/schemas/v6/MessageContentSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,WAAW,EACT,mEAAmE;IACrE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,M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BAAkB;IAC5B,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,+CAAyB,CAAA;IACzB,mEAA6C,CAAA;IAC7C,2CAAqB,CAAA;IACrB,qDAA+B,CAAA;IAC/B,qFAA+D,CAAA;IAC/D,iCAAW,CAAA;IACX,qDAA+B,CAAA;IAC/B,iDAA2B,CAAA;IAC3B,iEAA2C,CAAA;AAC7C,CAAC,EAZW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAY7B"}
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
export declare const MessageV6Schema: {
|
|
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
|
+
thread_id: {
|
|
41
|
+
description: string;
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
idempotency_key: {
|
|
45
|
+
type: string[];
|
|
46
|
+
};
|
|
47
|
+
attachments: {
|
|
48
|
+
type: string;
|
|
49
|
+
items: {
|
|
50
|
+
$ref: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
available_languages: {
|
|
54
|
+
anyOf: ({
|
|
55
|
+
type: string;
|
|
56
|
+
items: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
} | {
|
|
60
|
+
type: string;
|
|
61
|
+
items?: undefined;
|
|
62
|
+
})[];
|
|
63
|
+
};
|
|
64
|
+
original_language: {
|
|
65
|
+
type: string[];
|
|
66
|
+
};
|
|
67
|
+
ai_response_ids: {
|
|
68
|
+
type: string;
|
|
69
|
+
items: {
|
|
70
|
+
$ref: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
share_link_id: {
|
|
74
|
+
type: string[];
|
|
75
|
+
};
|
|
76
|
+
link: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
folder_id: {
|
|
80
|
+
type: string[];
|
|
81
|
+
};
|
|
82
|
+
utm_data: {
|
|
83
|
+
anyOf: ({
|
|
84
|
+
$ref: string;
|
|
85
|
+
type?: undefined;
|
|
86
|
+
} | {
|
|
87
|
+
type: string;
|
|
88
|
+
$ref?: undefined;
|
|
89
|
+
})[];
|
|
90
|
+
};
|
|
91
|
+
conversation_sequence: {
|
|
92
|
+
type: string[];
|
|
93
|
+
};
|
|
94
|
+
source_message_id: {
|
|
95
|
+
type: string[];
|
|
96
|
+
};
|
|
97
|
+
audio: {
|
|
98
|
+
anyOf: ({
|
|
99
|
+
$ref: string;
|
|
100
|
+
type?: undefined;
|
|
101
|
+
} | {
|
|
102
|
+
type: string;
|
|
103
|
+
$ref?: undefined;
|
|
104
|
+
})[];
|
|
105
|
+
};
|
|
106
|
+
users_caught_up: {
|
|
107
|
+
anyOf: ({
|
|
108
|
+
enum: string[];
|
|
109
|
+
type: string;
|
|
110
|
+
} | {
|
|
111
|
+
type: string;
|
|
112
|
+
enum?: undefined;
|
|
113
|
+
})[];
|
|
114
|
+
};
|
|
115
|
+
reaction_summary: {
|
|
116
|
+
anyOf: ({
|
|
117
|
+
$ref: string;
|
|
118
|
+
type?: undefined;
|
|
119
|
+
} | {
|
|
120
|
+
type: string;
|
|
121
|
+
$ref?: undefined;
|
|
122
|
+
})[];
|
|
123
|
+
};
|
|
124
|
+
users_not_allowed_to_receive_notifications: {
|
|
125
|
+
anyOf: ({
|
|
126
|
+
type: string;
|
|
127
|
+
items: {
|
|
128
|
+
$ref: string;
|
|
129
|
+
};
|
|
130
|
+
} | {
|
|
131
|
+
type: string;
|
|
132
|
+
items?: undefined;
|
|
133
|
+
})[];
|
|
134
|
+
};
|
|
135
|
+
source: {
|
|
136
|
+
anyOf: ({
|
|
137
|
+
enum: string[];
|
|
138
|
+
type: string;
|
|
139
|
+
} | {
|
|
140
|
+
type: string;
|
|
141
|
+
enum?: undefined;
|
|
142
|
+
})[];
|
|
143
|
+
};
|
|
144
|
+
source_value: {
|
|
145
|
+
type: string[];
|
|
146
|
+
};
|
|
147
|
+
tagged_user_ids: {
|
|
148
|
+
type: string;
|
|
149
|
+
items: {
|
|
150
|
+
type: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
heard_ms: {
|
|
154
|
+
type: string[];
|
|
155
|
+
};
|
|
156
|
+
label_ids: {
|
|
157
|
+
anyOf: ({
|
|
158
|
+
type: string;
|
|
159
|
+
items: {
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
162
|
+
} | {
|
|
163
|
+
type: string;
|
|
164
|
+
items?: undefined;
|
|
165
|
+
})[];
|
|
166
|
+
};
|
|
167
|
+
notify: {
|
|
168
|
+
type: string[];
|
|
169
|
+
};
|
|
170
|
+
notes: {
|
|
171
|
+
type: string[];
|
|
172
|
+
};
|
|
173
|
+
last_heard_update: {
|
|
174
|
+
type: string[];
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
additionalProperties: boolean;
|
|
178
|
+
required: string[];
|
|
179
|
+
definitions: {
|
|
180
|
+
MessageType: {
|
|
181
|
+
type: string;
|
|
182
|
+
enum: string[];
|
|
183
|
+
};
|
|
184
|
+
MessageStatus: {
|
|
185
|
+
type: string;
|
|
186
|
+
enum: string[];
|
|
187
|
+
};
|
|
188
|
+
AttachmentV5: {
|
|
189
|
+
type: string;
|
|
190
|
+
properties: {
|
|
191
|
+
id: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
creator_id: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
created_at: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
type: {
|
|
201
|
+
$ref: string;
|
|
202
|
+
};
|
|
203
|
+
url: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
presigned_url: {
|
|
207
|
+
type: string[];
|
|
208
|
+
};
|
|
209
|
+
presigned_url_expiration_date: {
|
|
210
|
+
type: string[];
|
|
211
|
+
};
|
|
212
|
+
filename: {
|
|
213
|
+
type: string[];
|
|
214
|
+
};
|
|
215
|
+
mime_type: {
|
|
216
|
+
type: string[];
|
|
217
|
+
};
|
|
218
|
+
length_in_bytes: {
|
|
219
|
+
type: string[];
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
additionalProperties: boolean;
|
|
223
|
+
required: string[];
|
|
224
|
+
};
|
|
225
|
+
AttachmentType: {
|
|
226
|
+
type: string;
|
|
227
|
+
enum: string[];
|
|
228
|
+
};
|
|
229
|
+
MessageAIResponse: {
|
|
230
|
+
type: string;
|
|
231
|
+
properties: {
|
|
232
|
+
id: {
|
|
233
|
+
type: string;
|
|
234
|
+
};
|
|
235
|
+
prompt_id: {
|
|
236
|
+
type: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
additionalProperties: boolean;
|
|
240
|
+
required: string[];
|
|
241
|
+
};
|
|
242
|
+
UtmData: {
|
|
243
|
+
type: string;
|
|
244
|
+
properties: {
|
|
245
|
+
utm_source: {
|
|
246
|
+
type: string[];
|
|
247
|
+
};
|
|
248
|
+
utm_medium: {
|
|
249
|
+
type: string[];
|
|
250
|
+
};
|
|
251
|
+
utm_campaign: {
|
|
252
|
+
type: string[];
|
|
253
|
+
};
|
|
254
|
+
utm_content: {
|
|
255
|
+
type: string[];
|
|
256
|
+
};
|
|
257
|
+
utm_term: {
|
|
258
|
+
type: string[];
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
additionalProperties: boolean;
|
|
262
|
+
};
|
|
263
|
+
MessageContent: {
|
|
264
|
+
description: string;
|
|
265
|
+
type: string;
|
|
266
|
+
properties: {
|
|
267
|
+
ai_summary: {
|
|
268
|
+
type: string[];
|
|
269
|
+
};
|
|
270
|
+
transcript: {
|
|
271
|
+
type: string[];
|
|
272
|
+
};
|
|
273
|
+
time_codes: {
|
|
274
|
+
type: string;
|
|
275
|
+
items: {
|
|
276
|
+
$ref: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
is_original_language: {
|
|
280
|
+
type: string[];
|
|
281
|
+
};
|
|
282
|
+
language: {
|
|
283
|
+
type: string[];
|
|
284
|
+
};
|
|
285
|
+
presigned_url: {
|
|
286
|
+
type: string[];
|
|
287
|
+
};
|
|
288
|
+
presigned_url_expiration_date: {
|
|
289
|
+
type: string[];
|
|
290
|
+
};
|
|
291
|
+
url: {
|
|
292
|
+
type: string[];
|
|
293
|
+
};
|
|
294
|
+
streaming_url: {
|
|
295
|
+
type: string[];
|
|
296
|
+
};
|
|
297
|
+
duration_ms: {
|
|
298
|
+
type: string[];
|
|
299
|
+
};
|
|
300
|
+
waveform_percentage: {
|
|
301
|
+
description: string;
|
|
302
|
+
type: string[];
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
additionalProperties: boolean;
|
|
306
|
+
};
|
|
307
|
+
MessageTimeCode: {
|
|
308
|
+
type: string;
|
|
309
|
+
properties: {
|
|
310
|
+
t: {
|
|
311
|
+
type: string;
|
|
312
|
+
};
|
|
313
|
+
s: {
|
|
314
|
+
type: string;
|
|
315
|
+
};
|
|
316
|
+
e: {
|
|
317
|
+
type: string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
additionalProperties: boolean;
|
|
321
|
+
required: string[];
|
|
322
|
+
};
|
|
323
|
+
ReactionSummary: {
|
|
324
|
+
type: string;
|
|
325
|
+
properties: {
|
|
326
|
+
reaction_counts: {
|
|
327
|
+
$ref: string;
|
|
328
|
+
};
|
|
329
|
+
top_user_reactions: {
|
|
330
|
+
type: string;
|
|
331
|
+
items: {
|
|
332
|
+
$ref: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
additionalProperties: boolean;
|
|
337
|
+
required: string[];
|
|
338
|
+
};
|
|
339
|
+
ReactionCounts: {
|
|
340
|
+
type: string;
|
|
341
|
+
additionalProperties: {
|
|
342
|
+
type: string;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
UserReaction: {
|
|
346
|
+
type: string;
|
|
347
|
+
properties: {
|
|
348
|
+
user_id: {
|
|
349
|
+
type: string;
|
|
350
|
+
};
|
|
351
|
+
reaction_id: {
|
|
352
|
+
type: string;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
additionalProperties: boolean;
|
|
356
|
+
required: string[];
|
|
357
|
+
};
|
|
358
|
+
UserNotAllowedReceiveNotifications: {
|
|
359
|
+
type: string;
|
|
360
|
+
properties: {
|
|
361
|
+
user_id: {
|
|
362
|
+
type: string;
|
|
363
|
+
};
|
|
364
|
+
phone: {
|
|
365
|
+
type: string;
|
|
366
|
+
};
|
|
367
|
+
email: {
|
|
368
|
+
type: string;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
additionalProperties: boolean;
|
|
372
|
+
required: string[];
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
$schema: string;
|
|
376
|
+
};
|
|
377
|
+
export declare enum MessageV6Keys {
|
|
378
|
+
id = "id",
|
|
379
|
+
type = "type",
|
|
380
|
+
kind = "kind",
|
|
381
|
+
created_at = "created_at",
|
|
382
|
+
updated_at = "updated_at",
|
|
383
|
+
deleted_at = "deleted_at",
|
|
384
|
+
conversation_id = "conversation_id",
|
|
385
|
+
workspace_id = "workspace_id",
|
|
386
|
+
creator_id = "creator_id",
|
|
387
|
+
status = "status",
|
|
388
|
+
thread_id = "thread_id",
|
|
389
|
+
idempotency_key = "idempotency_key",
|
|
390
|
+
attachments = "attachments",
|
|
391
|
+
available_languages = "available_languages",
|
|
392
|
+
original_language = "original_language",
|
|
393
|
+
ai_response_ids = "ai_response_ids",
|
|
394
|
+
share_link_id = "share_link_id",
|
|
395
|
+
link = "link",
|
|
396
|
+
folder_id = "folder_id",
|
|
397
|
+
utm_data = "utm_data",
|
|
398
|
+
conversation_sequence = "conversation_sequence",
|
|
399
|
+
source_message_id = "source_message_id",
|
|
400
|
+
audio = "audio",
|
|
401
|
+
users_caught_up = "users_caught_up",
|
|
402
|
+
reaction_summary = "reaction_summary",
|
|
403
|
+
users_not_allowed_to_receive_notifications = "users_not_allowed_to_receive_notifications",
|
|
404
|
+
source = "source",
|
|
405
|
+
source_value = "source_value",
|
|
406
|
+
tagged_user_ids = "tagged_user_ids",
|
|
407
|
+
heard_ms = "heard_ms",
|
|
408
|
+
label_ids = "label_ids",
|
|
409
|
+
notify = "notify",
|
|
410
|
+
notes = "notes",
|
|
411
|
+
last_heard_update = "last_heard_update"
|
|
412
|
+
}
|
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageV6Keys = exports.MessageV6Schema = void 0;
|
|
4
|
+
exports.MessageV6Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
type: {
|
|
11
|
+
$ref: '#/definitions/MessageType',
|
|
12
|
+
},
|
|
13
|
+
kind: {
|
|
14
|
+
anyOf: [
|
|
15
|
+
{
|
|
16
|
+
enum: [
|
|
17
|
+
'action-item',
|
|
18
|
+
'ai-prompt',
|
|
19
|
+
'ai-response',
|
|
20
|
+
'attachment',
|
|
21
|
+
'audio',
|
|
22
|
+
'channel-reminder',
|
|
23
|
+
'text',
|
|
24
|
+
],
|
|
25
|
+
type: 'string',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'null',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
created_at: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
},
|
|
35
|
+
updated_at: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
},
|
|
38
|
+
deleted_at: {
|
|
39
|
+
type: ['null', 'string'],
|
|
40
|
+
},
|
|
41
|
+
conversation_id: {
|
|
42
|
+
type: ['null', 'string'],
|
|
43
|
+
},
|
|
44
|
+
workspace_id: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
},
|
|
47
|
+
creator_id: {
|
|
48
|
+
type: 'string',
|
|
49
|
+
},
|
|
50
|
+
status: {
|
|
51
|
+
$ref: '#/definitions/MessageStatus',
|
|
52
|
+
},
|
|
53
|
+
thread_id: {
|
|
54
|
+
description: "The id of the message or its parent. If it's not equal to id then it's a reply.",
|
|
55
|
+
type: 'string',
|
|
56
|
+
},
|
|
57
|
+
idempotency_key: {
|
|
58
|
+
type: ['null', 'string'],
|
|
59
|
+
},
|
|
60
|
+
attachments: {
|
|
61
|
+
type: 'array',
|
|
62
|
+
items: {
|
|
63
|
+
$ref: '#/definitions/AttachmentV5',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
available_languages: {
|
|
67
|
+
anyOf: [
|
|
68
|
+
{
|
|
69
|
+
type: 'array',
|
|
70
|
+
items: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: 'null',
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
original_language: {
|
|
80
|
+
type: ['null', 'string'],
|
|
81
|
+
},
|
|
82
|
+
ai_response_ids: {
|
|
83
|
+
type: 'array',
|
|
84
|
+
items: {
|
|
85
|
+
$ref: '#/definitions/MessageAIResponse',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
share_link_id: {
|
|
89
|
+
type: ['null', 'string'],
|
|
90
|
+
},
|
|
91
|
+
link: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
},
|
|
94
|
+
folder_id: {
|
|
95
|
+
type: ['null', 'string'],
|
|
96
|
+
},
|
|
97
|
+
utm_data: {
|
|
98
|
+
anyOf: [
|
|
99
|
+
{
|
|
100
|
+
$ref: '#/definitions/UtmData',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
type: 'null',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
conversation_sequence: {
|
|
108
|
+
type: ['null', 'number'],
|
|
109
|
+
},
|
|
110
|
+
source_message_id: {
|
|
111
|
+
type: ['null', 'string'],
|
|
112
|
+
},
|
|
113
|
+
audio: {
|
|
114
|
+
anyOf: [
|
|
115
|
+
{
|
|
116
|
+
$ref: '#/definitions/MessageContent',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
type: 'null',
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
users_caught_up: {
|
|
124
|
+
anyOf: [
|
|
125
|
+
{
|
|
126
|
+
enum: ['all', 'none', 'some'],
|
|
127
|
+
type: 'string',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: 'null',
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
reaction_summary: {
|
|
135
|
+
anyOf: [
|
|
136
|
+
{
|
|
137
|
+
$ref: '#/definitions/ReactionSummary',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
type: 'null',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
users_not_allowed_to_receive_notifications: {
|
|
145
|
+
anyOf: [
|
|
146
|
+
{
|
|
147
|
+
type: 'array',
|
|
148
|
+
items: {
|
|
149
|
+
$ref: '#/definitions/UserNotAllowedReceiveNotifications',
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: 'null',
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
source: {
|
|
158
|
+
anyOf: [
|
|
159
|
+
{
|
|
160
|
+
enum: ['email_ingestion', 'reminder_user_id'],
|
|
161
|
+
type: 'string',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: 'null',
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
source_value: {
|
|
169
|
+
type: ['null', 'string'],
|
|
170
|
+
},
|
|
171
|
+
tagged_user_ids: {
|
|
172
|
+
type: 'array',
|
|
173
|
+
items: {
|
|
174
|
+
type: 'string',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
heard_ms: {
|
|
178
|
+
type: ['null', 'number'],
|
|
179
|
+
},
|
|
180
|
+
label_ids: {
|
|
181
|
+
anyOf: [
|
|
182
|
+
{
|
|
183
|
+
type: 'array',
|
|
184
|
+
items: {
|
|
185
|
+
type: 'string',
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
type: 'null',
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
notify: {
|
|
194
|
+
type: ['null', 'boolean'],
|
|
195
|
+
},
|
|
196
|
+
notes: {
|
|
197
|
+
type: ['null', 'string'],
|
|
198
|
+
},
|
|
199
|
+
last_heard_update: {
|
|
200
|
+
type: ['null', 'string'],
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
additionalProperties: false,
|
|
204
|
+
required: [
|
|
205
|
+
'created_at',
|
|
206
|
+
'creator_id',
|
|
207
|
+
'id',
|
|
208
|
+
'link',
|
|
209
|
+
'status',
|
|
210
|
+
'tagged_user_ids',
|
|
211
|
+
'thread_id',
|
|
212
|
+
'type',
|
|
213
|
+
'updated_at',
|
|
214
|
+
'workspace_id',
|
|
215
|
+
],
|
|
216
|
+
definitions: {
|
|
217
|
+
MessageType: {
|
|
218
|
+
type: 'string',
|
|
219
|
+
enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
|
|
220
|
+
},
|
|
221
|
+
MessageStatus: {
|
|
222
|
+
type: 'string',
|
|
223
|
+
enum: [
|
|
224
|
+
'offline',
|
|
225
|
+
'paused',
|
|
226
|
+
'processing',
|
|
227
|
+
'scheduled',
|
|
228
|
+
'active',
|
|
229
|
+
'deleted',
|
|
230
|
+
'account-deleted',
|
|
231
|
+
'initializing',
|
|
232
|
+
'inprogress',
|
|
233
|
+
'canceled',
|
|
234
|
+
'failed',
|
|
235
|
+
],
|
|
236
|
+
},
|
|
237
|
+
AttachmentV5: {
|
|
238
|
+
type: 'object',
|
|
239
|
+
properties: {
|
|
240
|
+
id: {
|
|
241
|
+
type: 'string',
|
|
242
|
+
},
|
|
243
|
+
creator_id: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
},
|
|
246
|
+
created_at: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
},
|
|
249
|
+
type: {
|
|
250
|
+
$ref: '#/definitions/AttachmentType',
|
|
251
|
+
},
|
|
252
|
+
url: {
|
|
253
|
+
type: 'string',
|
|
254
|
+
},
|
|
255
|
+
presigned_url: {
|
|
256
|
+
type: ['null', 'string'],
|
|
257
|
+
},
|
|
258
|
+
presigned_url_expiration_date: {
|
|
259
|
+
type: ['null', 'string'],
|
|
260
|
+
},
|
|
261
|
+
filename: {
|
|
262
|
+
type: ['null', 'string'],
|
|
263
|
+
},
|
|
264
|
+
mime_type: {
|
|
265
|
+
type: ['null', 'string'],
|
|
266
|
+
},
|
|
267
|
+
length_in_bytes: {
|
|
268
|
+
type: ['null', 'number'],
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
additionalProperties: false,
|
|
272
|
+
required: ['created_at', 'creator_id', 'id', 'type', 'url'],
|
|
273
|
+
},
|
|
274
|
+
AttachmentType: {
|
|
275
|
+
type: 'string',
|
|
276
|
+
enum: [
|
|
277
|
+
'link',
|
|
278
|
+
'file',
|
|
279
|
+
'location',
|
|
280
|
+
'ai-response-id',
|
|
281
|
+
'ai-prompt-id',
|
|
282
|
+
'action-item-id',
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
MessageAIResponse: {
|
|
286
|
+
type: 'object',
|
|
287
|
+
properties: {
|
|
288
|
+
id: {
|
|
289
|
+
type: 'string',
|
|
290
|
+
},
|
|
291
|
+
prompt_id: {
|
|
292
|
+
type: 'string',
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
additionalProperties: false,
|
|
296
|
+
required: ['id', 'prompt_id'],
|
|
297
|
+
},
|
|
298
|
+
UtmData: {
|
|
299
|
+
type: 'object',
|
|
300
|
+
properties: {
|
|
301
|
+
utm_source: {
|
|
302
|
+
type: ['null', 'string'],
|
|
303
|
+
},
|
|
304
|
+
utm_medium: {
|
|
305
|
+
type: ['null', 'string'],
|
|
306
|
+
},
|
|
307
|
+
utm_campaign: {
|
|
308
|
+
type: ['null', 'string'],
|
|
309
|
+
},
|
|
310
|
+
utm_content: {
|
|
311
|
+
type: ['null', 'string'],
|
|
312
|
+
},
|
|
313
|
+
utm_term: {
|
|
314
|
+
type: ['null', 'string'],
|
|
315
|
+
},
|
|
316
|
+
},
|
|
317
|
+
additionalProperties: false,
|
|
318
|
+
},
|
|
319
|
+
MessageContent: {
|
|
320
|
+
description: 'Content of a message in one language: audio plus transcript data.',
|
|
321
|
+
type: 'object',
|
|
322
|
+
properties: {
|
|
323
|
+
ai_summary: {
|
|
324
|
+
type: ['null', 'string'],
|
|
325
|
+
},
|
|
326
|
+
transcript: {
|
|
327
|
+
type: ['null', 'string'],
|
|
328
|
+
},
|
|
329
|
+
time_codes: {
|
|
330
|
+
type: 'array',
|
|
331
|
+
items: {
|
|
332
|
+
$ref: '#/definitions/MessageTimeCode',
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
is_original_language: {
|
|
336
|
+
type: ['null', 'boolean'],
|
|
337
|
+
},
|
|
338
|
+
language: {
|
|
339
|
+
type: ['null', 'string'],
|
|
340
|
+
},
|
|
341
|
+
presigned_url: {
|
|
342
|
+
type: ['null', 'string'],
|
|
343
|
+
},
|
|
344
|
+
presigned_url_expiration_date: {
|
|
345
|
+
type: ['null', 'string'],
|
|
346
|
+
},
|
|
347
|
+
url: {
|
|
348
|
+
type: ['null', 'string'],
|
|
349
|
+
},
|
|
350
|
+
streaming_url: {
|
|
351
|
+
type: ['null', 'string'],
|
|
352
|
+
},
|
|
353
|
+
duration_ms: {
|
|
354
|
+
type: ['null', 'number'],
|
|
355
|
+
},
|
|
356
|
+
waveform_percentage: {
|
|
357
|
+
description: 'Waveform percentages encoded as a compressed string.',
|
|
358
|
+
type: ['null', 'string'],
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
additionalProperties: false,
|
|
362
|
+
},
|
|
363
|
+
MessageTimeCode: {
|
|
364
|
+
type: 'object',
|
|
365
|
+
properties: {
|
|
366
|
+
t: {
|
|
367
|
+
type: 'string',
|
|
368
|
+
},
|
|
369
|
+
s: {
|
|
370
|
+
type: 'number',
|
|
371
|
+
},
|
|
372
|
+
e: {
|
|
373
|
+
type: 'number',
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
additionalProperties: false,
|
|
377
|
+
required: ['e', 's', 't'],
|
|
378
|
+
},
|
|
379
|
+
ReactionSummary: {
|
|
380
|
+
type: 'object',
|
|
381
|
+
properties: {
|
|
382
|
+
reaction_counts: {
|
|
383
|
+
$ref: '#/definitions/ReactionCounts',
|
|
384
|
+
},
|
|
385
|
+
top_user_reactions: {
|
|
386
|
+
type: 'array',
|
|
387
|
+
items: {
|
|
388
|
+
$ref: '#/definitions/UserReaction',
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
additionalProperties: false,
|
|
393
|
+
required: ['reaction_counts', 'top_user_reactions'],
|
|
394
|
+
},
|
|
395
|
+
ReactionCounts: {
|
|
396
|
+
type: 'object',
|
|
397
|
+
additionalProperties: {
|
|
398
|
+
type: 'number',
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
UserReaction: {
|
|
402
|
+
type: 'object',
|
|
403
|
+
properties: {
|
|
404
|
+
user_id: {
|
|
405
|
+
type: 'string',
|
|
406
|
+
},
|
|
407
|
+
reaction_id: {
|
|
408
|
+
type: 'string',
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
additionalProperties: false,
|
|
412
|
+
required: ['reaction_id', 'user_id'],
|
|
413
|
+
},
|
|
414
|
+
UserNotAllowedReceiveNotifications: {
|
|
415
|
+
type: 'object',
|
|
416
|
+
properties: {
|
|
417
|
+
user_id: {
|
|
418
|
+
type: 'string',
|
|
419
|
+
},
|
|
420
|
+
phone: {
|
|
421
|
+
type: 'string',
|
|
422
|
+
},
|
|
423
|
+
email: {
|
|
424
|
+
type: 'string',
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
additionalProperties: false,
|
|
428
|
+
required: ['user_id'],
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
432
|
+
};
|
|
433
|
+
var MessageV6Keys;
|
|
434
|
+
(function (MessageV6Keys) {
|
|
435
|
+
MessageV6Keys["id"] = "id";
|
|
436
|
+
MessageV6Keys["type"] = "type";
|
|
437
|
+
MessageV6Keys["kind"] = "kind";
|
|
438
|
+
MessageV6Keys["created_at"] = "created_at";
|
|
439
|
+
MessageV6Keys["updated_at"] = "updated_at";
|
|
440
|
+
MessageV6Keys["deleted_at"] = "deleted_at";
|
|
441
|
+
MessageV6Keys["conversation_id"] = "conversation_id";
|
|
442
|
+
MessageV6Keys["workspace_id"] = "workspace_id";
|
|
443
|
+
MessageV6Keys["creator_id"] = "creator_id";
|
|
444
|
+
MessageV6Keys["status"] = "status";
|
|
445
|
+
MessageV6Keys["thread_id"] = "thread_id";
|
|
446
|
+
MessageV6Keys["idempotency_key"] = "idempotency_key";
|
|
447
|
+
MessageV6Keys["attachments"] = "attachments";
|
|
448
|
+
MessageV6Keys["available_languages"] = "available_languages";
|
|
449
|
+
MessageV6Keys["original_language"] = "original_language";
|
|
450
|
+
MessageV6Keys["ai_response_ids"] = "ai_response_ids";
|
|
451
|
+
MessageV6Keys["share_link_id"] = "share_link_id";
|
|
452
|
+
MessageV6Keys["link"] = "link";
|
|
453
|
+
MessageV6Keys["folder_id"] = "folder_id";
|
|
454
|
+
MessageV6Keys["utm_data"] = "utm_data";
|
|
455
|
+
MessageV6Keys["conversation_sequence"] = "conversation_sequence";
|
|
456
|
+
MessageV6Keys["source_message_id"] = "source_message_id";
|
|
457
|
+
MessageV6Keys["audio"] = "audio";
|
|
458
|
+
MessageV6Keys["users_caught_up"] = "users_caught_up";
|
|
459
|
+
MessageV6Keys["reaction_summary"] = "reaction_summary";
|
|
460
|
+
MessageV6Keys["users_not_allowed_to_receive_notifications"] = "users_not_allowed_to_receive_notifications";
|
|
461
|
+
MessageV6Keys["source"] = "source";
|
|
462
|
+
MessageV6Keys["source_value"] = "source_value";
|
|
463
|
+
MessageV6Keys["tagged_user_ids"] = "tagged_user_ids";
|
|
464
|
+
MessageV6Keys["heard_ms"] = "heard_ms";
|
|
465
|
+
MessageV6Keys["label_ids"] = "label_ids";
|
|
466
|
+
MessageV6Keys["notify"] = "notify";
|
|
467
|
+
MessageV6Keys["notes"] = "notes";
|
|
468
|
+
MessageV6Keys["last_heard_update"] = "last_heard_update";
|
|
469
|
+
})(MessageV6Keys = exports.MessageV6Keys || (exports.MessageV6Keys = {}));
|
|
470
|
+
//# sourceMappingURL=MessageV6Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageV6Schema.js","sourceRoot":"","sources":["../../../src/schemas/v6/MessageV6Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA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AU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACf;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;SACtB;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,aAmCX;AAnCD,WAAY,aAAa;IACvB,0BAAS,CAAA;IACT,8BAAa,CAAA;IACb,8BAAa,CAAA;IACb,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;IAC7B,0CAAyB,CAAA;IACzB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,oDAAmC,CAAA;IACnC,4CAA2B,CAAA;IAC3B,4DAA2C,CAAA;IAC3C,wDAAuC,CAAA;IACvC,oDAAmC,CAAA;IACnC,gDAA+B,CAAA;IAC/B,8BAAa,CAAA;IACb,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,gEAA+C,CAAA;IAC/C,wDAAuC,CAAA;IACvC,gCAAe,CAAA;IACf,oDAAmC,CAAA;IACnC,sDAAqC,CAAA;IACrC,0GAAyF,CAAA;IACzF,kCAAiB,CAAA;IACjB,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;IACnC,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,wDAAuC,CAAA;AACzC,CAAC,EAnCW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAmCxB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MessageContentSchema"), exports);
|
|
18
|
+
__exportStar(require("./MessageV6Schema"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/v6/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,oDAAkC"}
|