@common_ch/common 1.0.168 → 1.0.169
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/build/events/portal/ai-option/ai-created-event.d.ts +27 -0
- package/build/events/portal/ai-option/ai-created-event.js +22 -0
- package/build/events/portal/ai-option/ai-option-changeStatus-event.d.ts +10 -0
- package/build/events/portal/ai-option/ai-option-changeStatus-event.js +2 -0
- package/build/events/subjects.d.ts +2 -0
- package/build/events/subjects.js +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Subjects } from "../../subjects";
|
|
2
|
+
export declare enum AiOptionNamesEnum {
|
|
3
|
+
gpt4o = "gpt-4o",
|
|
4
|
+
gpt4dot1 = "gpt-4.1",
|
|
5
|
+
gpt4dot1Mini = "gpt-4.1-mini",
|
|
6
|
+
gpt4dot1Nano = "gpt-4.1-nano",
|
|
7
|
+
gpt4oMini = "gpt-4o-mini",
|
|
8
|
+
gpt3dot5Turbo = "gpt-3.5-turbo",
|
|
9
|
+
gptImage1 = "gpt-image-1",
|
|
10
|
+
whisperLarge = "whisper-large",
|
|
11
|
+
tts1 = "tts-1"
|
|
12
|
+
}
|
|
13
|
+
export declare enum AiOptionFieldEnum {
|
|
14
|
+
voiceToText = "voice-to-text",
|
|
15
|
+
textToSpeech = "text-to-speech",
|
|
16
|
+
image = "image",
|
|
17
|
+
chat = "chat"
|
|
18
|
+
}
|
|
19
|
+
export interface AiOptionCreatedEvent {
|
|
20
|
+
subject: Subjects.AiOptionCreated;
|
|
21
|
+
data: {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
field: AiOptionFieldEnum;
|
|
25
|
+
aiId: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiOptionFieldEnum = exports.AiOptionNamesEnum = void 0;
|
|
4
|
+
var AiOptionNamesEnum;
|
|
5
|
+
(function (AiOptionNamesEnum) {
|
|
6
|
+
AiOptionNamesEnum["gpt4o"] = "gpt-4o";
|
|
7
|
+
AiOptionNamesEnum["gpt4dot1"] = "gpt-4.1";
|
|
8
|
+
AiOptionNamesEnum["gpt4dot1Mini"] = "gpt-4.1-mini";
|
|
9
|
+
AiOptionNamesEnum["gpt4dot1Nano"] = "gpt-4.1-nano";
|
|
10
|
+
AiOptionNamesEnum["gpt4oMini"] = "gpt-4o-mini";
|
|
11
|
+
AiOptionNamesEnum["gpt3dot5Turbo"] = "gpt-3.5-turbo";
|
|
12
|
+
AiOptionNamesEnum["gptImage1"] = "gpt-image-1";
|
|
13
|
+
AiOptionNamesEnum["whisperLarge"] = "whisper-large";
|
|
14
|
+
AiOptionNamesEnum["tts1"] = "tts-1";
|
|
15
|
+
})(AiOptionNamesEnum || (exports.AiOptionNamesEnum = AiOptionNamesEnum = {}));
|
|
16
|
+
var AiOptionFieldEnum;
|
|
17
|
+
(function (AiOptionFieldEnum) {
|
|
18
|
+
AiOptionFieldEnum["voiceToText"] = "voice-to-text";
|
|
19
|
+
AiOptionFieldEnum["textToSpeech"] = "text-to-speech";
|
|
20
|
+
AiOptionFieldEnum["image"] = "image";
|
|
21
|
+
AiOptionFieldEnum["chat"] = "chat";
|
|
22
|
+
})(AiOptionFieldEnum || (exports.AiOptionFieldEnum = AiOptionFieldEnum = {}));
|
|
@@ -16,6 +16,8 @@ export declare enum Subjects {
|
|
|
16
16
|
AdminChangedStatusInPortal = "admin:changed-status-in-portal",
|
|
17
17
|
AdminUpdatedPasswordInPortal = "admin:updated-password-in-portal",
|
|
18
18
|
AiCreated = "ai:created",
|
|
19
|
+
AiOptionChangeStatus = "ai-option:changeStatus",
|
|
20
|
+
AiOptionCreated = "ai-option:created",
|
|
19
21
|
AiChangeStatus = "ai:changeStatus",
|
|
20
22
|
BlogCreated = "blog:created",
|
|
21
23
|
BlogUpdated = "blog:updated",
|
package/build/events/subjects.js
CHANGED
|
@@ -20,6 +20,8 @@ var Subjects;
|
|
|
20
20
|
Subjects["AdminChangedStatusInPortal"] = "admin:changed-status-in-portal";
|
|
21
21
|
Subjects["AdminUpdatedPasswordInPortal"] = "admin:updated-password-in-portal";
|
|
22
22
|
Subjects["AiCreated"] = "ai:created";
|
|
23
|
+
Subjects["AiOptionChangeStatus"] = "ai-option:changeStatus";
|
|
24
|
+
Subjects["AiOptionCreated"] = "ai-option:created";
|
|
23
25
|
Subjects["AiChangeStatus"] = "ai:changeStatus";
|
|
24
26
|
Subjects["BlogCreated"] = "blog:created";
|
|
25
27
|
Subjects["BlogUpdated"] = "blog:updated";
|
package/build/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export * from './events/auth/user/log-user-login-event';
|
|
|
20
20
|
export * from './events/auth/admin/admin-created-event';
|
|
21
21
|
export * from './events/portal/ai/ai-created-event';
|
|
22
22
|
export * from './events/portal/ai/ai-changeStatus-event';
|
|
23
|
+
export * from './events/portal/ai-option/ai-created-event';
|
|
24
|
+
export * from './events/portal/ai-option/ai-option-changeStatus-event';
|
|
23
25
|
export * from './events/portal/user/user-updated-event';
|
|
24
26
|
export * from './events/portal/user/user-change-status-event';
|
|
25
27
|
export * from './events/portal/user/user-updated-wallet-event';
|
package/build/index.js
CHANGED
|
@@ -46,6 +46,8 @@ __exportStar(require("./events/auth/user/log-user-login-event"), exports);
|
|
|
46
46
|
__exportStar(require("./events/auth/admin/admin-created-event"), exports);
|
|
47
47
|
__exportStar(require("./events/portal/ai/ai-created-event"), exports);
|
|
48
48
|
__exportStar(require("./events/portal/ai/ai-changeStatus-event"), exports);
|
|
49
|
+
__exportStar(require("./events/portal/ai-option/ai-created-event"), exports);
|
|
50
|
+
__exportStar(require("./events/portal/ai-option/ai-option-changeStatus-event"), exports);
|
|
49
51
|
__exportStar(require("./events/portal/user/user-updated-event"), exports);
|
|
50
52
|
__exportStar(require("./events/portal/user/user-change-status-event"), exports);
|
|
51
53
|
__exportStar(require("./events/portal/user/user-updated-wallet-event"), exports);
|