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
@@ -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 './MessageV3';
16
- export * from './AttachmentV2';
17
- export * from './GetMessageResponseV2';
15
+ export * from './v5';
@@ -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("./MessageV3"), exports);
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,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC"}
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,5 +1,5 @@
1
- import { AttachmentType } from '../enums';
2
- export interface AttachmentV2 {
1
+ import { AttachmentType } from '../../enums';
2
+ export interface AttachmentV5 {
3
3
  id: string;
4
4
  creator_id: string;
5
5
  created_at: string;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AttachmentV2.js.map
3
+ //# sourceMappingURL=AttachmentV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/AttachmentV5.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { MessageV5 } from './MessageV5';
2
+ export interface GetMessageResponseV5 {
3
+ message: MessageV5;
4
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=GetMessageResponseV2.js.map
3
+ //# sourceMappingURL=GetMessageResponseV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetMessageResponseV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/GetMessageResponseV5.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import { AttachmentV2 } from './AttachmentV2';
2
- import { MessageCaughtUpStatus, MessageKind, MessageStatus, MessageType } from '../enums';
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 MessageV3 {
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?: AttachmentV2[];
54
+ attachments?: AttachmentV5[];
55
55
  language?: string | null;
56
56
  is_original_language?: boolean | null;
57
57
  transcript?: string | null;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=MessageV3.js.map
3
+ //# sourceMappingURL=MessageV5.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=StatisticsV5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatisticsV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/StatisticsV5.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './MessageV5';
2
+ export * from './AttachmentV5';
3
+ export * from './GetMessageResponseV5';
4
+ export * from './StatisticsV5';
@@ -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"}
@@ -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';
@@ -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,uDAAqC;AACrC,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,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,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"}