@dataclouder/conversation-card-nestjs 0.0.22 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/dist/ai-models.service.d.ts +0 -13
- package/dist/ai-models.service.d.ts.map +0 -1
- package/dist/ai-models.service.js +0 -82
- package/dist/ai-models.service.js.map +0 -1
- package/dist/clases/conversation.interface.d.ts +0 -161
- package/dist/clases/conversation.interface.d.ts.map +0 -1
- package/dist/clases/conversation.interface.js +0 -40
- package/dist/clases/conversation.interface.js.map +0 -1
- package/dist/conversation-ai.controller.d.ts +0 -18
- package/dist/conversation-ai.controller.d.ts.map +0 -1
- package/dist/conversation-ai.controller.js +0 -124
- package/dist/conversation-ai.controller.js.map +0 -1
- package/dist/conversation-cards.module.d.ts +0 -3
- package/dist/conversation-cards.module.d.ts.map +0 -1
- package/dist/conversation-cards.module.js +0 -27
- package/dist/conversation-cards.module.js.map +0 -1
- package/dist/conversation.controller.d.ts +0 -4
- package/dist/conversation.controller.d.ts.map +0 -1
- package/dist/conversation.controller.js +0 -33
- package/dist/conversation.controller.js.map +0 -1
- package/dist/dto/create-conversation.dto.d.ts +0 -18
- package/dist/dto/create-conversation.dto.d.ts.map +0 -1
- package/dist/dto/create-conversation.dto.js +0 -42
- package/dist/dto/create-conversation.dto.js.map +0 -1
- package/dist/entities/conversation.entity.d.ts +0 -68
- package/dist/entities/conversation.entity.d.ts.map +0 -1
- package/dist/entities/conversation.entity.js +0 -97
- package/dist/entities/conversation.entity.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -23
- package/dist/index.js.map +0 -1
- package/dist/services/audio-transcription.service.d.ts +0 -1
- package/dist/services/audio-transcription.service.d.ts.map +0 -1
- package/dist/services/audio-transcription.service.js +0 -1
- package/dist/services/audio-transcription.service.js.map +0 -1
- package/dist/services/conversation-ai.service.d.ts +0 -14
- package/dist/services/conversation-ai.service.d.ts.map +0 -1
- package/dist/services/conversation-ai.service.js +0 -58
- package/dist/services/conversation-ai.service.js.map +0 -1
- package/dist/services/conversation-cards.service.d.ts +0 -3
- package/dist/services/conversation-cards.service.d.ts.map +0 -1
- package/dist/services/conversation-cards.service.js +0 -17
- package/dist/services/conversation-cards.service.js.map +0 -1
- package/dist/tts/tts-service.d.ts +0 -1
- package/dist/tts/tts-service.d.ts.map +0 -1
- package/dist/tts/tts-service.js +0 -1
- package/dist/tts/tts-service.js.map +0 -1
- package/dist/tts/tts.classes.d.ts +0 -33
- package/dist/tts/tts.classes.d.ts.map +0 -1
- package/dist/tts/tts.classes.js +0 -200
- package/dist/tts/tts.classes.js.map +0 -1
- package/dist/tts/voices.d.ts +0 -4
- package/dist/tts/voices.d.ts.map +0 -1
- package/dist/tts/voices.js +0 -208
- package/dist/tts/voices.js.map +0 -1
@@ -1,68 +0,0 @@
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
6
|
-
/// <reference types="mongoose/types/document" />
|
7
|
-
/// <reference types="mongoose/types/error" />
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
12
|
-
/// <reference types="mongoose/types/models" />
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
16
|
-
/// <reference types="mongoose/types/query" />
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
19
|
-
/// <reference types="mongoose/types/session" />
|
20
|
-
/// <reference types="mongoose/types/types" />
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
24
|
-
/// <reference types="mongoose/types/inferschematype" />
|
25
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
26
|
-
import { Document, Schema as MongooseSchema } from 'mongoose';
|
27
|
-
import { ConversationType, TextEngines, IConversationCard, CharacterCardDC } from '../clases/conversation.interface';
|
28
|
-
export type ConversationDocument = Conversation & Document;
|
29
|
-
export declare class Conversation implements IConversationCard {
|
30
|
-
_id: MongooseSchema.Types.ObjectId;
|
31
|
-
id: string;
|
32
|
-
version: string;
|
33
|
-
title: string;
|
34
|
-
characterCard: CharacterCardDC;
|
35
|
-
textEngine: TextEngines;
|
36
|
-
conversationType: ConversationType;
|
37
|
-
lang: string;
|
38
|
-
assets: {
|
39
|
-
image: any;
|
40
|
-
};
|
41
|
-
tts: {
|
42
|
-
voice: string;
|
43
|
-
secondaryVoice: string;
|
44
|
-
speed: string;
|
45
|
-
speedRate: number;
|
46
|
-
};
|
47
|
-
voice: string;
|
48
|
-
secondaryVoice: string;
|
49
|
-
speed: string;
|
50
|
-
speedRate: number;
|
51
|
-
metaApp: {
|
52
|
-
isPublished: boolean;
|
53
|
-
isPublic: boolean;
|
54
|
-
authorId: string;
|
55
|
-
authorEmail: string;
|
56
|
-
createdAt: Date;
|
57
|
-
updatedAt: Date;
|
58
|
-
takenCount: number;
|
59
|
-
};
|
60
|
-
createdAt: Date;
|
61
|
-
updatedAt: Date;
|
62
|
-
}
|
63
|
-
export declare const ConversationSchema: MongooseSchema<Conversation, import("mongoose").Model<Conversation, any, any, any, Document<unknown, any, Conversation> & Conversation & Required<{
|
64
|
-
_id: MongooseSchema.Types.ObjectId;
|
65
|
-
}>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Conversation, Document<unknown, {}, import("mongoose").FlatRecord<Conversation>> & import("mongoose").FlatRecord<Conversation> & Required<{
|
66
|
-
_id: MongooseSchema.Types.ObjectId;
|
67
|
-
}>>;
|
68
|
-
//# sourceMappingURL=conversation.entity.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation.entity.d.ts","sourceRoot":"","sources":["../../src/entities/conversation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAErH,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,QAAQ,CAAC;AAE3D,qBACa,YAAa,YAAW,iBAAiB;IAEpD,GAAG,EAAE,cAAc,CAAC,KAAK,CAAC,QAAQ,CAAC;IAGnC,EAAE,EAAE,MAAM,CAAC;IAGX,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,aAAa,EAAE,eAAe,CAAC;IAG/B,UAAU,EAAE,WAAW,CAAC;IAGxB,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE;QACN,KAAK,EAAE,GAAG,CAAC;KACZ,CAAC;IAGF,GAAG,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IAGF,KAAK,EAAE,MAAM,CAAC;IAGd,cAAc,EAAE,MAAM,CAAC;IAGvB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE;QACP,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,IAAI,CAAC;QAChB,SAAS,EAAE,IAAI,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IAGF,SAAS,EAAE,IAAI,CAAC;IAGhB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB;;;;GAA6C,CAAC"}
|
@@ -1,97 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
-
};
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.ConversationSchema = exports.Conversation = void 0;
|
13
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
14
|
-
const mongoose_2 = require("mongoose");
|
15
|
-
const conversation_interface_1 = require("../clases/conversation.interface");
|
16
|
-
let Conversation = class Conversation {
|
17
|
-
};
|
18
|
-
exports.Conversation = Conversation;
|
19
|
-
__decorate([
|
20
|
-
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, auto: true }),
|
21
|
-
__metadata("design:type", mongoose_2.Schema.Types.ObjectId)
|
22
|
-
], Conversation.prototype, "_id", void 0);
|
23
|
-
__decorate([
|
24
|
-
(0, mongoose_1.Prop)(),
|
25
|
-
__metadata("design:type", String)
|
26
|
-
], Conversation.prototype, "id", void 0);
|
27
|
-
__decorate([
|
28
|
-
(0, mongoose_1.Prop)({ required: false }),
|
29
|
-
__metadata("design:type", String)
|
30
|
-
], Conversation.prototype, "version", void 0);
|
31
|
-
__decorate([
|
32
|
-
(0, mongoose_1.Prop)({ required: false }),
|
33
|
-
__metadata("design:type", String)
|
34
|
-
], Conversation.prototype, "title", void 0);
|
35
|
-
__decorate([
|
36
|
-
(0, mongoose_1.Prop)({ type: Object, required: false }),
|
37
|
-
__metadata("design:type", Object)
|
38
|
-
], Conversation.prototype, "characterCard", void 0);
|
39
|
-
__decorate([
|
40
|
-
(0, mongoose_1.Prop)({ required: true, enum: conversation_interface_1.TextEngines }),
|
41
|
-
__metadata("design:type", String)
|
42
|
-
], Conversation.prototype, "textEngine", void 0);
|
43
|
-
__decorate([
|
44
|
-
(0, mongoose_1.Prop)({ required: true, enum: conversation_interface_1.ConversationType }),
|
45
|
-
__metadata("design:type", String)
|
46
|
-
], Conversation.prototype, "conversationType", void 0);
|
47
|
-
__decorate([
|
48
|
-
(0, mongoose_1.Prop)({ required: false }),
|
49
|
-
__metadata("design:type", String)
|
50
|
-
], Conversation.prototype, "lang", void 0);
|
51
|
-
__decorate([
|
52
|
-
(0, mongoose_1.Prop)({ type: Object, required: false }),
|
53
|
-
__metadata("design:type", Object)
|
54
|
-
], Conversation.prototype, "assets", void 0);
|
55
|
-
__decorate([
|
56
|
-
(0, mongoose_1.Prop)({ type: Object, required: false }),
|
57
|
-
__metadata("design:type", Object)
|
58
|
-
], Conversation.prototype, "tts", void 0);
|
59
|
-
__decorate([
|
60
|
-
(0, mongoose_1.Prop)({ required: false }),
|
61
|
-
__metadata("design:type", String)
|
62
|
-
], Conversation.prototype, "voice", void 0);
|
63
|
-
__decorate([
|
64
|
-
(0, mongoose_1.Prop)({ required: false }),
|
65
|
-
__metadata("design:type", String)
|
66
|
-
], Conversation.prototype, "secondaryVoice", void 0);
|
67
|
-
__decorate([
|
68
|
-
(0, mongoose_1.Prop)({ required: false }),
|
69
|
-
__metadata("design:type", String)
|
70
|
-
], Conversation.prototype, "speed", void 0);
|
71
|
-
__decorate([
|
72
|
-
(0, mongoose_1.Prop)({ required: false }),
|
73
|
-
__metadata("design:type", Number)
|
74
|
-
], Conversation.prototype, "speedRate", void 0);
|
75
|
-
__decorate([
|
76
|
-
(0, mongoose_1.Prop)({ type: Object, required: false }),
|
77
|
-
__metadata("design:type", Object)
|
78
|
-
], Conversation.prototype, "metaApp", void 0);
|
79
|
-
__decorate([
|
80
|
-
(0, mongoose_1.Prop)(),
|
81
|
-
__metadata("design:type", Date)
|
82
|
-
], Conversation.prototype, "createdAt", void 0);
|
83
|
-
__decorate([
|
84
|
-
(0, mongoose_1.Prop)(),
|
85
|
-
__metadata("design:type", Date)
|
86
|
-
], Conversation.prototype, "updatedAt", void 0);
|
87
|
-
exports.Conversation = Conversation = __decorate([
|
88
|
-
(0, mongoose_1.Schema)({ timestamps: true })
|
89
|
-
], Conversation);
|
90
|
-
exports.ConversationSchema = mongoose_1.SchemaFactory.createForClass(Conversation);
|
91
|
-
exports.ConversationSchema.pre('save', function (next) {
|
92
|
-
if (this.isNew) {
|
93
|
-
this.id = this._id.toString();
|
94
|
-
}
|
95
|
-
next();
|
96
|
-
});
|
97
|
-
//# sourceMappingURL=conversation.entity.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation.entity.js","sourceRoot":"","sources":["../../src/entities/conversation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAA8D;AAC9D,6EAAqH;AAK9G,IAAM,YAAY,GAAlB,MAAM,YAAY;CAkExB,CAAA;AAlEY,oCAAY;AAEvB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACrD,iBAAc,CAAC,KAAK,CAAC,QAAQ;yCAAC;AAGnC;IADC,IAAA,eAAI,GAAE;;wCACI;AAGX;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6CAC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Y,CAkExB;AAEY,QAAA,kBAAkB,GAAG,wBAAa,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;AAE7E,0BAAkB,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,IAAI;IAC3C,IAAI,IAAI,CAAC,KAAK,EAAE;QACd,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;KAC/B;IACD,IAAI,EAAE,CAAC;AACT,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
export * from './conversation-cards.module';
|
2
|
-
export * from './services/conversation-cards.service';
|
3
|
-
export * from './conversation-ai.controller';
|
4
|
-
export * from './services/conversation-ai.service';
|
5
|
-
export * from './ai-models.service';
|
6
|
-
export * from './clases/conversation.interface';
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC"}
|
package/dist/index.js
DELETED
@@ -1,23 +0,0 @@
|
|
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("./conversation-cards.module"), exports);
|
18
|
-
__exportStar(require("./services/conversation-cards.service"), exports);
|
19
|
-
__exportStar(require("./conversation-ai.controller"), exports);
|
20
|
-
__exportStar(require("./services/conversation-ai.service"), exports);
|
21
|
-
__exportStar(require("./ai-models.service"), exports);
|
22
|
-
__exportStar(require("./clases/conversation.interface"), exports);
|
23
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,wEAAsD;AACtD,+DAA6C;AAC7C,qEAAmD;AACnD,sDAAoC;AACpC,kEAAgD"}
|
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=audio-transcription.service.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"audio-transcription.service.d.ts","sourceRoot":"","sources":["../../src/services/audio-transcription.service.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=audio-transcription.service.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"audio-transcription.service.js","sourceRoot":"","sources":["../../src/services/audio-transcription.service.ts"],"names":[],"mappings":""}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Model } from 'mongoose';
|
2
|
-
import { IConversationCard } from '../clases/conversation.interface';
|
3
|
-
import { Conversation, ConversationDocument } from '../entities/conversation.entity';
|
4
|
-
export declare class ConversationAiService {
|
5
|
-
private conversationModel;
|
6
|
-
private readonly groqClient;
|
7
|
-
constructor(conversationModel: Model<ConversationDocument>);
|
8
|
-
saveConversation(conversation: IConversationCard): Promise<ConversationDocument>;
|
9
|
-
updateConversation(id: string, updateData: Partial<Conversation>): Promise<ConversationDocument>;
|
10
|
-
getConversations(): Promise<ConversationDocument[]>;
|
11
|
-
getConversationById(id: string): Promise<ConversationDocument>;
|
12
|
-
deleteConversationById(id: string): Promise<ConversationDocument>;
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=conversation-ai.service.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation-ai.service.d.ts","sourceRoot":"","sources":["../../src/services/conversation-ai.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAErF,qBACa,qBAAqB;IAGY,OAAO,CAAC,iBAAiB;IAFrE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAO;gBAEkB,iBAAiB,EAAE,KAAK,CAAC,oBAAoB,CAAC;IAM5F,gBAAgB,CAAC,YAAY,EAAE,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAShF,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAKhG,gBAAgB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAInD,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAK9D,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAIxE"}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
-
};
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
-
};
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
exports.ConversationAiService = void 0;
|
16
|
-
const common_1 = require("@nestjs/common");
|
17
|
-
const mongoose_1 = require("@nestjs/mongoose");
|
18
|
-
const mongoose_2 = require("mongoose");
|
19
|
-
const groq_sdk_1 = require("groq-sdk");
|
20
|
-
const mongodb_1 = require("mongodb");
|
21
|
-
const conversation_entity_1 = require("../entities/conversation.entity");
|
22
|
-
let ConversationAiService = class ConversationAiService {
|
23
|
-
constructor(conversationModel) {
|
24
|
-
this.conversationModel = conversationModel;
|
25
|
-
this.groqClient = new groq_sdk_1.default({
|
26
|
-
apiKey: process.env['GROQ_API_KEY'],
|
27
|
-
});
|
28
|
-
}
|
29
|
-
async saveConversation(conversation) {
|
30
|
-
if (!conversation['_id']) {
|
31
|
-
delete conversation['_id'];
|
32
|
-
}
|
33
|
-
const newConversation = new this.conversationModel(conversation);
|
34
|
-
return newConversation.save();
|
35
|
-
}
|
36
|
-
async updateConversation(id, updateData) {
|
37
|
-
const _id = new mongodb_1.ObjectId(id);
|
38
|
-
return this.conversationModel.findByIdAndUpdate(_id, updateData, { new: true }).exec();
|
39
|
-
}
|
40
|
-
async getConversations() {
|
41
|
-
return this.conversationModel.find().exec();
|
42
|
-
}
|
43
|
-
async getConversationById(id) {
|
44
|
-
const _id = new mongodb_1.ObjectId(id);
|
45
|
-
return this.conversationModel.findById(_id).exec();
|
46
|
-
}
|
47
|
-
async deleteConversationById(id) {
|
48
|
-
const _id = new mongodb_1.ObjectId(id);
|
49
|
-
return this.conversationModel.findByIdAndDelete(_id).exec();
|
50
|
-
}
|
51
|
-
};
|
52
|
-
exports.ConversationAiService = ConversationAiService;
|
53
|
-
exports.ConversationAiService = ConversationAiService = __decorate([
|
54
|
-
(0, common_1.Injectable)(),
|
55
|
-
__param(0, (0, mongoose_1.InjectModel)(conversation_entity_1.Conversation.name)),
|
56
|
-
__metadata("design:paramtypes", [mongoose_2.Model])
|
57
|
-
], ConversationAiService);
|
58
|
-
//# sourceMappingURL=conversation-ai.service.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation-ai.service.js","sourceRoot":"","sources":["../../src/services/conversation-ai.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AACjC,uCAA4B;AAE5B,qCAAmC;AAGnC,yEAAqF;AAG9E,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAGhC,YAAoD,iBAA8C;QAA9C,sBAAiB,GAAjB,iBAAiB,CAA6B;QAChG,IAAI,CAAC,UAAU,GAAG,IAAI,kBAAI,CAAC;YACzB,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;SACpC,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,YAA+B;QACpD,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE;YACxB,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;SAC5B;QAED,MAAM,eAAe,GAAG,IAAI,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;QACjE,OAAO,eAAe,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,EAAU,EAAE,UAAiC;QACpE,MAAM,GAAG,GAAG,IAAI,kBAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACzF,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,mBAAmB,CAAC,EAAU;QAClC,MAAM,GAAG,GAAG,IAAI,kBAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,EAAU;QACrC,MAAM,GAAG,GAAG,IAAI,kBAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;IAC9D,CAAC;CACF,CAAA;AApCY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,mBAAU,GAAE;IAIE,WAAA,IAAA,sBAAW,EAAC,kCAAY,CAAC,IAAI,CAAC,CAAA;qCAA4B,gBAAK;GAHjE,qBAAqB,CAoCjC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation-cards.service.d.ts","sourceRoot":"","sources":["../../src/services/conversation-cards.service.ts"],"names":[],"mappings":"AAEA,qBACa,wBAAwB;CAAG"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
-
exports.ConversationCardsService = void 0;
|
10
|
-
const common_1 = require("@nestjs/common");
|
11
|
-
let ConversationCardsService = class ConversationCardsService {
|
12
|
-
};
|
13
|
-
exports.ConversationCardsService = ConversationCardsService;
|
14
|
-
exports.ConversationCardsService = ConversationCardsService = __decorate([
|
15
|
-
(0, common_1.Injectable)()
|
16
|
-
], ConversationCardsService);
|
17
|
-
//# sourceMappingURL=conversation-cards.service.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"conversation-cards.service.js","sourceRoot":"","sources":["../../src/services/conversation-cards.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAGrC,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAAG,CAAA;AAA3B,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,mBAAU,GAAE;GACA,wBAAwB,CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=tts-service.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tts-service.d.ts","sourceRoot":"","sources":["../../src/tts/tts-service.ts"],"names":[],"mappings":""}
|
package/dist/tts/tts-service.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=tts-service.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tts-service.js","sourceRoot":"","sources":["../../src/tts/tts-service.ts"],"names":[],"mappings":""}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
export declare enum AudioSpeed {
|
2
|
-
VerySlow = "VerySlow",
|
3
|
-
Slow = "Slow",
|
4
|
-
Regular = "Regular",
|
5
|
-
Fast = "Fast",
|
6
|
-
VeryFast = "VeryFast"
|
7
|
-
}
|
8
|
-
export declare enum VoiceCode {
|
9
|
-
MX = "MX"
|
10
|
-
}
|
11
|
-
export declare const GoogleVoiceHQOptions: VoiceOption[];
|
12
|
-
export declare const GoogleVoiceOptions: VoiceOption[];
|
13
|
-
export interface SynthAudioOptions {
|
14
|
-
speed?: AudioSpeed;
|
15
|
-
speed_rate?: number;
|
16
|
-
}
|
17
|
-
export interface VoiceOption {
|
18
|
-
id: string;
|
19
|
-
lang: string;
|
20
|
-
name?: string;
|
21
|
-
provider?: string;
|
22
|
-
gender?: string;
|
23
|
-
exampleUrl?: string;
|
24
|
-
}
|
25
|
-
export declare class TTSDto {
|
26
|
-
text: string;
|
27
|
-
ssml: boolean;
|
28
|
-
voice: string;
|
29
|
-
speed: AudioSpeed;
|
30
|
-
speedRate: number;
|
31
|
-
generateTranscription: boolean;
|
32
|
-
}
|
33
|
-
//# sourceMappingURL=tts.classes.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tts.classes.d.ts","sourceRoot":"","sources":["../../src/tts/tts.classes.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,oBAAY,SAAS;IACnB,EAAE,OAAO;CACV;AAMD,eAAO,MAAM,oBAAoB,EAAE,WAAW,EAI7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAyL3C,CAAC;AAIF,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,MAAM;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,OAAO,CAAC;CAChC"}
|
package/dist/tts/tts.classes.js
DELETED
@@ -1,200 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TTSDto = exports.GoogleVoiceOptions = exports.GoogleVoiceHQOptions = exports.VoiceCode = exports.AudioSpeed = void 0;
|
4
|
-
var AudioSpeed;
|
5
|
-
(function (AudioSpeed) {
|
6
|
-
AudioSpeed["VerySlow"] = "VerySlow";
|
7
|
-
AudioSpeed["Slow"] = "Slow";
|
8
|
-
AudioSpeed["Regular"] = "Regular";
|
9
|
-
AudioSpeed["Fast"] = "Fast";
|
10
|
-
AudioSpeed["VeryFast"] = "VeryFast";
|
11
|
-
})(AudioSpeed || (exports.AudioSpeed = AudioSpeed = {}));
|
12
|
-
var VoiceCode;
|
13
|
-
(function (VoiceCode) {
|
14
|
-
VoiceCode["MX"] = "MX";
|
15
|
-
})(VoiceCode || (exports.VoiceCode = VoiceCode = {}));
|
16
|
-
exports.GoogleVoiceHQOptions = [
|
17
|
-
{ id: 'en-US-Neural2-A', lang: 'en-US' },
|
18
|
-
];
|
19
|
-
exports.GoogleVoiceOptions = [
|
20
|
-
{
|
21
|
-
provider: 'google',
|
22
|
-
name: '👨🦰 Man ♂️ 🇫🇷 fr-FR-Neural2-B',
|
23
|
-
id: 'fr-FR-Neural2-B',
|
24
|
-
gender: 'male',
|
25
|
-
lang: 'fr-FR',
|
26
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_fr-FR-Neural2-B.mp3',
|
27
|
-
},
|
28
|
-
{
|
29
|
-
provider: 'google',
|
30
|
-
name: '👩 Woman ♀️ 🇫🇷 fr-FR-Neural2-E',
|
31
|
-
id: 'fr-FR-Neural2-E',
|
32
|
-
gender: 'female',
|
33
|
-
lang: 'fr-FR',
|
34
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_fr-FR-Neural2-E.mp3',
|
35
|
-
},
|
36
|
-
{
|
37
|
-
provider: 'google',
|
38
|
-
name: '👩 Woman ♀️ 🇮🇹 it-IT-Neural2-A',
|
39
|
-
id: 'it-IT-Neural2-A',
|
40
|
-
gender: 'female',
|
41
|
-
lang: 'it-IT',
|
42
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_it-IT-Neural2-A.mp3',
|
43
|
-
},
|
44
|
-
{
|
45
|
-
provider: 'google',
|
46
|
-
name: '👨🦰 Man ♂️ 🇮🇹 it-IT-Neural2-C',
|
47
|
-
id: 'it-IT-Neural2-C',
|
48
|
-
gender: 'male',
|
49
|
-
lang: 'it-IT',
|
50
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_it-IT-Neural2-C.mp3',
|
51
|
-
},
|
52
|
-
{
|
53
|
-
provider: 'google',
|
54
|
-
name: '👩 Woman ♀️ 🇧🇷 pt-BR-Neural2-C',
|
55
|
-
id: 'pt-BR-Neural2-C',
|
56
|
-
gender: 'female',
|
57
|
-
lang: 'pt-BR',
|
58
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_pt-BR-Neural2-C.mp3',
|
59
|
-
},
|
60
|
-
{
|
61
|
-
provider: 'google',
|
62
|
-
name: '👨🦰 Man ♂️ 🇧🇷 pt-BR-Neural2-B',
|
63
|
-
id: 'pt-BR-Neural2-B',
|
64
|
-
gender: 'male',
|
65
|
-
lang: 'pt-BR',
|
66
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_pt-BR-Neural2-B.mp3',
|
67
|
-
},
|
68
|
-
{
|
69
|
-
provider: 'google',
|
70
|
-
name: '👨🦰 Man 🇲🇽 es-US-Neural2-B',
|
71
|
-
id: 'es-US-Neural2-B',
|
72
|
-
gender: 'male',
|
73
|
-
lang: 'es-US',
|
74
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-US-Neural2-B.mp3',
|
75
|
-
},
|
76
|
-
{
|
77
|
-
provider: 'google',
|
78
|
-
name: '👩 Woman ♀️ 🇲🇽 es-US-Neural2-A',
|
79
|
-
id: 'es-US-Neural2-A',
|
80
|
-
gender: 'female',
|
81
|
-
lang: 'es-US',
|
82
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-US-Neural2-A.mp3',
|
83
|
-
},
|
84
|
-
{
|
85
|
-
provider: 'google',
|
86
|
-
name: '👨🦰 Man ♂️ 🇲🇽 es-US-Neural2-C',
|
87
|
-
id: 'es-US-Neural2-C',
|
88
|
-
gender: 'male',
|
89
|
-
lang: 'es-US',
|
90
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-US-Neural2-C.mp3',
|
91
|
-
},
|
92
|
-
{
|
93
|
-
provider: 'google',
|
94
|
-
name: '👨🦰 Man ♂️ 🇪🇸 es-ES-Neural2-B',
|
95
|
-
id: 'es-ES-Neural2-B',
|
96
|
-
gender: 'male',
|
97
|
-
lang: 'es-ES',
|
98
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-ES-Neural2-B.mp3',
|
99
|
-
},
|
100
|
-
{
|
101
|
-
provider: 'google',
|
102
|
-
name: '👩 Woman ♀️ 🇪🇸 es-ES-Neural2-C',
|
103
|
-
id: 'es-ES-Neural2-C',
|
104
|
-
gender: 'male',
|
105
|
-
lang: 'es-ES',
|
106
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-ES-Neural2-C.mp3',
|
107
|
-
},
|
108
|
-
{
|
109
|
-
provider: 'google',
|
110
|
-
name: '👨🦰 Man ♂️ 🇪🇸 es-ES-Neural2-F',
|
111
|
-
id: 'es-ES-Neural2-F',
|
112
|
-
gender: 'male',
|
113
|
-
lang: 'es-ES',
|
114
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-ES-Neural2-F.mp3',
|
115
|
-
},
|
116
|
-
{
|
117
|
-
provider: 'google',
|
118
|
-
name: '👩 Woman ♀️ 🇪🇸 es-ES-Neural2-E',
|
119
|
-
id: 'es-ES-Neural2-E',
|
120
|
-
gender: 'female',
|
121
|
-
lang: 'es-ES',
|
122
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_es-ES-Neural2-E.mp3',
|
123
|
-
},
|
124
|
-
{
|
125
|
-
provider: 'google',
|
126
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Journey-F',
|
127
|
-
id: 'en-US-Journey-F',
|
128
|
-
gender: 'female',
|
129
|
-
lang: 'en-US',
|
130
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Journey-F.mp3',
|
131
|
-
},
|
132
|
-
{
|
133
|
-
provider: 'google',
|
134
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Journey-O',
|
135
|
-
id: 'en-US-Journey-O',
|
136
|
-
gender: 'female',
|
137
|
-
lang: 'en-US',
|
138
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Journey-O.mp3',
|
139
|
-
},
|
140
|
-
{
|
141
|
-
provider: 'google',
|
142
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Journey-D',
|
143
|
-
id: 'en-US-Journey-D',
|
144
|
-
gender: 'female',
|
145
|
-
lang: 'en-US',
|
146
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Journey-D.mp3',
|
147
|
-
},
|
148
|
-
{
|
149
|
-
provider: 'google',
|
150
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Journey-N',
|
151
|
-
id: 'en-US-News-N',
|
152
|
-
gender: 'female',
|
153
|
-
lang: 'en-US',
|
154
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-News-N.mp3',
|
155
|
-
},
|
156
|
-
{
|
157
|
-
provider: 'google',
|
158
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-News-L',
|
159
|
-
id: 'en-US-News-L',
|
160
|
-
gender: 'female',
|
161
|
-
lang: 'en-US',
|
162
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-News-L.mp3',
|
163
|
-
},
|
164
|
-
{
|
165
|
-
provider: 'google',
|
166
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Neural2-F',
|
167
|
-
id: 'en-US-Neural2-F',
|
168
|
-
gender: 'female',
|
169
|
-
lang: 'en-US',
|
170
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Neural2-F.mp3',
|
171
|
-
},
|
172
|
-
{
|
173
|
-
provider: 'google',
|
174
|
-
name: '👩 Woman ♀️ 🇺🇸 en-US-Neural2-H',
|
175
|
-
id: 'en-US-Neural2-H',
|
176
|
-
gender: 'female',
|
177
|
-
lang: 'en-US',
|
178
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Neural2-H.mp3',
|
179
|
-
},
|
180
|
-
{
|
181
|
-
provider: 'google',
|
182
|
-
name: '👨🦰 Man ♂️ 🇺🇸 en-US-Neural2-J',
|
183
|
-
id: 'en-US-Neural2-J',
|
184
|
-
gender: 'male',
|
185
|
-
lang: 'en-US',
|
186
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Neural2-J.mp3',
|
187
|
-
},
|
188
|
-
{
|
189
|
-
provider: 'google',
|
190
|
-
name: '👨🦰 Man ♂️ 🇺🇸 en-US-Neural2-I',
|
191
|
-
id: 'en-US-Neural2-I',
|
192
|
-
gender: 'male',
|
193
|
-
lang: 'en-US',
|
194
|
-
exampleUrl: 'https://storage.googleapis.com/appingles-pro.appspot.com/voice_demos/google_en-US-Neural2-I.mp3',
|
195
|
-
},
|
196
|
-
];
|
197
|
-
class TTSDto {
|
198
|
-
}
|
199
|
-
exports.TTSDto = TTSDto;
|
200
|
-
//# sourceMappingURL=tts.classes.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tts.classes.js","sourceRoot":"","sources":["../../src/tts/tts.classes.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,mCAAqB,CAAA;AACvB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,sBAAS,CAAA;AACX,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB;AAMY,QAAA,oBAAoB,GAAkB;IAEjD,EAAE,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE;CAEzC,CAAC;AAEW,QAAA,kBAAkB,GAAkB;IAC/C;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,mCAAmC;QACzC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,iGAAiG;KAC9G;IACD;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,kCAAkC;QACxC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,OAAO;QACb,UA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,8FAA8F;KAC3G;IACD;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,+BAA+B;QACrC,EAAE,EAAE,cAAc;QAClB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,8FAA8F;KAC3G;IAED;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,kCAAkC;QACxC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,iGAAiG;KAC9G;IACD;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,kCAAkC;QACxC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,iGAAiG;KAC9G;IACD;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,mCAAmC;QACzC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,iGAAiG;KAC9G;IACD;QACE,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,mCAAmC;QACzC,EAAE,EAAE,iBAAiB;QACrB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,iGAAiG;KAC9G;CACF,CAAC;AAkBF,MAAa,MAAM;CAOlB;AAPD,wBAOC"}
|
package/dist/tts/voices.d.ts
DELETED
package/dist/tts/voices.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"voices.d.ts","sourceRoot":"","sources":["../../src/tts/voices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,oBAAoB,EAAE,WAAW,EA8B7C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,WAAW,EAsL/B,CAAC"}
|