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.
- package/dist/interfaces/index.d.ts +1 -3
- package/dist/interfaces/index.js +1 -3
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/{AttachmentV2.d.ts → v5/AttachmentV5.d.ts} +2 -2
- package/dist/interfaces/{AttachmentV2.js → v5/AttachmentV5.js} +1 -1
- package/dist/interfaces/v5/AttachmentV5.js.map +1 -0
- package/dist/interfaces/v5/GetMessageResponseV5.d.ts +4 -0
- package/dist/interfaces/{GetMessageResponseV2.js → v5/GetMessageResponseV5.js} +1 -1
- package/dist/interfaces/v5/GetMessageResponseV5.js.map +1 -0
- package/dist/interfaces/{MessageV3.d.ts → v5/MessageV5.d.ts} +4 -4
- package/dist/interfaces/{MessageV3.js → v5/MessageV5.js} +1 -1
- package/dist/interfaces/v5/MessageV5.js.map +1 -0
- package/dist/interfaces/v5/StatisticsV5.d.ts +15 -0
- package/dist/interfaces/v5/StatisticsV5.js +3 -0
- package/dist/interfaces/v5/StatisticsV5.js.map +1 -0
- package/dist/interfaces/v5/index.d.ts +4 -0
- package/dist/interfaces/v5/index.js +21 -0
- package/dist/interfaces/v5/index.js.map +1 -0
- package/dist/schemas/index.d.ts +1 -11
- package/dist/schemas/index.js +1 -11
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/v5/AttachmentV5Schema.d.ts +48 -0
- package/dist/schemas/v5/AttachmentV5Schema.js +60 -0
- package/dist/schemas/v5/AttachmentV5Schema.js.map +1 -0
- package/dist/schemas/v5/AudioInfoSchema.d.ts +29 -0
- package/dist/schemas/v5/AudioInfoSchema.js +34 -0
- package/dist/schemas/v5/AudioInfoSchema.js.map +1 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.d.ts +325 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.js +374 -0
- package/dist/schemas/v5/GetMessageResponseV5Schema.js.map +1 -0
- package/dist/schemas/v5/LabelStatisticSchema.d.ts +26 -0
- package/dist/schemas/v5/LabelStatisticSchema.js +36 -0
- package/dist/schemas/v5/LabelStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/MessageAIResponseSchema.d.ts +18 -0
- package/dist/schemas/v5/MessageAIResponseSchema.js +23 -0
- package/dist/schemas/v5/MessageAIResponseSchema.js.map +1 -0
- package/dist/schemas/v5/MessageStatisticSchema.d.ts +40 -0
- package/dist/schemas/v5/MessageStatisticSchema.js +52 -0
- package/dist/schemas/v5/MessageStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.d.ts +22 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.js +27 -0
- package/dist/schemas/v5/MessageTimeCodeSchema.js.map +1 -0
- package/dist/schemas/v5/MessageV5Schema.d.ts +343 -0
- package/dist/schemas/v5/MessageV5Schema.js +392 -0
- package/dist/schemas/v5/MessageV5Schema.js.map +1 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.d.ts +22 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.js +27 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/ReactionCountsSchema.d.ts +12 -0
- package/dist/schemas/v5/ReactionCountsSchema.js +17 -0
- package/dist/schemas/v5/ReactionCountsSchema.js.map +1 -0
- package/dist/schemas/v5/ReactionSummarySchema.d.ts +42 -0
- package/dist/schemas/v5/ReactionSummarySchema.js +47 -0
- package/dist/schemas/v5/ReactionSummarySchema.js.map +1 -0
- package/dist/schemas/v5/StatisticsSchema.d.ts +61 -0
- package/dist/schemas/v5/StatisticsSchema.js +75 -0
- package/dist/schemas/v5/StatisticsSchema.js.map +1 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.d.ts +22 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js +27 -0
- package/dist/schemas/v5/UserNotAllowedReceiveNotificationsSchema.js.map +1 -0
- package/dist/schemas/v5/UserReactionSchema.d.ts +18 -0
- package/dist/schemas/v5/UserReactionSchema.js +23 -0
- package/dist/schemas/v5/UserReactionSchema.js.map +1 -0
- package/dist/schemas/v5/UtmDataSchema.d.ts +29 -0
- package/dist/schemas/v5/UtmDataSchema.js +34 -0
- package/dist/schemas/v5/UtmDataSchema.js.map +1 -0
- package/dist/schemas/v5/index.d.ts +14 -0
- package/dist/schemas/v5/index.js +31 -0
- package/dist/schemas/v5/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/interfaces/AttachmentV2.js.map +0 -1
- package/dist/interfaces/GetMessageResponseV2.d.ts +0 -4
- package/dist/interfaces/GetMessageResponseV2.js.map +0 -1
- package/dist/interfaces/MessageV3.js.map +0 -1
|
@@ -12,6 +12,4 @@ export * from './ResponseByLanguage';
|
|
|
12
12
|
export * from './AIShareLinkPromptResponse';
|
|
13
13
|
export * from './ActionItem';
|
|
14
14
|
export * from './MessageShareLink';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './AttachmentV2';
|
|
17
|
-
export * from './GetMessageResponseV2';
|
|
15
|
+
export * from './v5';
|
package/dist/interfaces/index.js
CHANGED
|
@@ -28,7 +28,5 @@ __exportStar(require("./ResponseByLanguage"), exports);
|
|
|
28
28
|
__exportStar(require("./AIShareLinkPromptResponse"), exports);
|
|
29
29
|
__exportStar(require("./ActionItem"), exports);
|
|
30
30
|
__exportStar(require("./MessageShareLink"), exports);
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./AttachmentV2"), exports);
|
|
33
|
-
__exportStar(require("./GetMessageResponseV2"), exports);
|
|
31
|
+
__exportStar(require("./v5"), exports);
|
|
34
32
|
//# 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,
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/AttachmentV5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetMessageResponseV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/GetMessageResponseV5.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '
|
|
1
|
+
import { AttachmentV5 } from './AttachmentV5';
|
|
2
|
+
import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '../../enums';
|
|
3
3
|
export interface MessageAIResponse {
|
|
4
4
|
id: string;
|
|
5
5
|
prompt_id: string;
|
|
@@ -39,7 +39,7 @@ export interface AudioInfo {
|
|
|
39
39
|
presigned_url_expiration_date?: string | null;
|
|
40
40
|
duration_ms?: number | null;
|
|
41
41
|
}
|
|
42
|
-
export interface
|
|
42
|
+
export interface MessageV5 {
|
|
43
43
|
id: string;
|
|
44
44
|
type: MessageType;
|
|
45
45
|
kind?: MessageKind | null;
|
|
@@ -51,7 +51,7 @@ export interface MessageV3 {
|
|
|
51
51
|
creator_id: string;
|
|
52
52
|
status: MessageStatus;
|
|
53
53
|
parent_message_id?: string | null;
|
|
54
|
-
attachments?:
|
|
54
|
+
attachments?: AttachmentV5[];
|
|
55
55
|
language?: string | null;
|
|
56
56
|
is_original_language?: boolean | null;
|
|
57
57
|
transcript?: string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/MessageV5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NotifiedMessageStatistic {
|
|
2
|
+
channel_id: string;
|
|
3
|
+
notified_messages: number;
|
|
4
|
+
oldest_notified_message_id: string | null;
|
|
5
|
+
}
|
|
6
|
+
export interface LabelStatistic {
|
|
7
|
+
label_id: string;
|
|
8
|
+
notified_messages: number;
|
|
9
|
+
total_messages: number;
|
|
10
|
+
oldest_notified_message_id: string | null;
|
|
11
|
+
}
|
|
12
|
+
export interface Statistics {
|
|
13
|
+
notified_messages: NotifiedMessageStatistic[];
|
|
14
|
+
label_statistics: LabelStatistic[];
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatisticsV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/StatisticsV5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./MessageV5"), exports);
|
|
18
|
+
__exportStar(require("./AttachmentV5"), exports);
|
|
19
|
+
__exportStar(require("./GetMessageResponseV5"), exports);
|
|
20
|
+
__exportStar(require("./StatisticsV5"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,iDAA+B"}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -3,24 +3,14 @@ export * from './AIShareLinkPromptResponseSchema';
|
|
|
3
3
|
export * from './ActionItemSchema';
|
|
4
4
|
export * from './AsyncMeetingStatsSchema';
|
|
5
5
|
export * from './AttachmentSchema';
|
|
6
|
-
export * from './AttachmentV2Schema';
|
|
7
6
|
export * from './ConversationSchema';
|
|
8
7
|
export * from './GetMessageResponseSchema';
|
|
9
|
-
export * from './GetMessageResponseV2Schema';
|
|
10
8
|
export * from './LabelSchema';
|
|
11
9
|
export * from './MessageSchema';
|
|
12
10
|
export * from './SpecifiedAccessSchema';
|
|
13
11
|
export * from './MessageShareLinkSchema';
|
|
14
|
-
export * from './MessageAIResponseSchema';
|
|
15
|
-
export * from './MessageTimeCodeSchema';
|
|
16
|
-
export * from './UtmDataSchema';
|
|
17
|
-
export * from './UserReactionSchema';
|
|
18
|
-
export * from './ReactionCountsSchema';
|
|
19
|
-
export * from './ReactionSummarySchema';
|
|
20
|
-
export * from './UserNotAllowedReceiveNotificationsSchema';
|
|
21
|
-
export * from './AudioInfoSchema';
|
|
22
|
-
export * from './MessageV3Schema';
|
|
23
12
|
export * from './ResponseByLanguageSchema';
|
|
24
13
|
export * from './UserSchema';
|
|
25
14
|
export * from './WorkspaceSchema';
|
|
15
|
+
export * from './v5';
|
|
26
16
|
export * from './webhook';
|
package/dist/schemas/index.js
CHANGED
|
@@ -19,25 +19,15 @@ __exportStar(require("./AIShareLinkPromptResponseSchema"), exports);
|
|
|
19
19
|
__exportStar(require("./ActionItemSchema"), exports);
|
|
20
20
|
__exportStar(require("./AsyncMeetingStatsSchema"), exports);
|
|
21
21
|
__exportStar(require("./AttachmentSchema"), exports);
|
|
22
|
-
__exportStar(require("./AttachmentV2Schema"), exports);
|
|
23
22
|
__exportStar(require("./ConversationSchema"), exports);
|
|
24
23
|
__exportStar(require("./GetMessageResponseSchema"), exports);
|
|
25
|
-
__exportStar(require("./GetMessageResponseV2Schema"), exports);
|
|
26
24
|
__exportStar(require("./LabelSchema"), exports);
|
|
27
25
|
__exportStar(require("./MessageSchema"), exports);
|
|
28
26
|
__exportStar(require("./SpecifiedAccessSchema"), exports);
|
|
29
27
|
__exportStar(require("./MessageShareLinkSchema"), exports);
|
|
30
|
-
__exportStar(require("./MessageAIResponseSchema"), exports);
|
|
31
|
-
__exportStar(require("./MessageTimeCodeSchema"), exports);
|
|
32
|
-
__exportStar(require("./UtmDataSchema"), exports);
|
|
33
|
-
__exportStar(require("./UserReactionSchema"), exports);
|
|
34
|
-
__exportStar(require("./ReactionCountsSchema"), exports);
|
|
35
|
-
__exportStar(require("./ReactionSummarySchema"), exports);
|
|
36
|
-
__exportStar(require("./UserNotAllowedReceiveNotificationsSchema"), exports);
|
|
37
|
-
__exportStar(require("./AudioInfoSchema"), exports);
|
|
38
|
-
__exportStar(require("./MessageV3Schema"), exports);
|
|
39
28
|
__exportStar(require("./ResponseByLanguageSchema"), exports);
|
|
40
29
|
__exportStar(require("./UserSchema"), exports);
|
|
41
30
|
__exportStar(require("./WorkspaceSchema"), exports);
|
|
31
|
+
__exportStar(require("./v5"), exports);
|
|
42
32
|
__exportStar(require("./webhook"), exports);
|
|
43
33
|
//# 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,
|
|
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"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const AttachmentV5Schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
creator_id: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
created_at: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
type: {
|
|
14
|
+
$ref: string;
|
|
15
|
+
};
|
|
16
|
+
link: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
filename: {
|
|
20
|
+
type: string[];
|
|
21
|
+
};
|
|
22
|
+
mime_type: {
|
|
23
|
+
type: string[];
|
|
24
|
+
};
|
|
25
|
+
length_in_bytes: {
|
|
26
|
+
type: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
additionalProperties: boolean;
|
|
30
|
+
required: string[];
|
|
31
|
+
definitions: {
|
|
32
|
+
AttachmentType: {
|
|
33
|
+
type: string;
|
|
34
|
+
enum: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
$schema: string;
|
|
38
|
+
};
|
|
39
|
+
export declare enum AttachmentV5Keys {
|
|
40
|
+
id = "id",
|
|
41
|
+
creator_id = "creator_id",
|
|
42
|
+
created_at = "created_at",
|
|
43
|
+
type = "type",
|
|
44
|
+
link = "link",
|
|
45
|
+
filename = "filename",
|
|
46
|
+
mime_type = "mime_type",
|
|
47
|
+
length_in_bytes = "length_in_bytes"
|
|
48
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachmentV5Keys = exports.AttachmentV5Schema = void 0;
|
|
4
|
+
exports.AttachmentV5Schema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
creator_id: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
created_at: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
$ref: '#/definitions/AttachmentType',
|
|
18
|
+
},
|
|
19
|
+
link: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
filename: {
|
|
23
|
+
type: ['null', 'string'],
|
|
24
|
+
},
|
|
25
|
+
mime_type: {
|
|
26
|
+
type: ['null', 'string'],
|
|
27
|
+
},
|
|
28
|
+
length_in_bytes: {
|
|
29
|
+
type: ['null', 'number'],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
additionalProperties: false,
|
|
33
|
+
required: ['created_at', 'creator_id', 'id', 'link', 'type'],
|
|
34
|
+
definitions: {
|
|
35
|
+
AttachmentType: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
enum: [
|
|
38
|
+
'link',
|
|
39
|
+
'file',
|
|
40
|
+
'location',
|
|
41
|
+
'ai-response-id',
|
|
42
|
+
'ai-prompt-id',
|
|
43
|
+
'action-item-id',
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
48
|
+
};
|
|
49
|
+
var AttachmentV5Keys;
|
|
50
|
+
(function (AttachmentV5Keys) {
|
|
51
|
+
AttachmentV5Keys["id"] = "id";
|
|
52
|
+
AttachmentV5Keys["creator_id"] = "creator_id";
|
|
53
|
+
AttachmentV5Keys["created_at"] = "created_at";
|
|
54
|
+
AttachmentV5Keys["type"] = "type";
|
|
55
|
+
AttachmentV5Keys["link"] = "link";
|
|
56
|
+
AttachmentV5Keys["filename"] = "filename";
|
|
57
|
+
AttachmentV5Keys["mime_type"] = "mime_type";
|
|
58
|
+
AttachmentV5Keys["length_in_bytes"] = "length_in_bytes";
|
|
59
|
+
})(AttachmentV5Keys = exports.AttachmentV5Keys || (exports.AttachmentV5Keys = {}));
|
|
60
|
+
//# sourceMappingURL=AttachmentV5Schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/AttachmentV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,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,gBASX;AATD,WAAY,gBAAgB;IAC1B,6BAAS,CAAA;IACT,6CAAyB,CAAA;IACzB,6CAAyB,CAAA;IACzB,iCAAa,CAAA;IACb,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;IACvB,uDAAmC,CAAA;AACrC,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B"}
|
|
@@ -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/v5/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"}
|