@common_ch/common 1.0.352 → 1.0.354

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.
@@ -3,6 +3,8 @@ export declare enum AiOptionStatusEnum {
3
3
  deactive = "deactive"
4
4
  }
5
5
  export declare enum AiOptionNamesEnum {
6
+ GEMINI_3_PRO = "gemini-3-pro-preview",
7
+ GEMINI_3_PRO_IMAGE = "gemini-3-pro-image-preview",
6
8
  GEMINI_2_5_PRO = "gemini-2.5-pro",
7
9
  GEMINI_2_5_FLASH = "gemini-2.5-flash",
8
10
  GEMINI_2_5_FLASH_LITE = "gemini-2.5-flash-lite",
@@ -13,6 +15,11 @@ export declare enum AiOptionNamesEnum {
13
15
  GEMINI_1_5_FLASH = "gemini-1.5-flash",
14
16
  TEXT_EMBEDDING_004 = "text-embedding-004",
15
17
  TEXT_EMBEDDING_ADA_002 = "text-embedding-ada-002",
18
+ gpt5dot1 = "gpt-5.1",
19
+ gpt5dot1Codex = "gpt-5.1-codex",
20
+ gpt5dot1CodexMax = "gpt-5.1-codex-max",
21
+ gpt5dot1CodexMini = "gpt-5.1-codex-mini",
22
+ gpt5dot1Chat = "gpt-5.1-chat-latest",
16
23
  gpt5Mini = "gpt-5-mini",
17
24
  gpt5Nano = "gpt-5-nano",
18
25
  gpt5 = "gpt-5",
package/build/enums/ai.js CHANGED
@@ -8,6 +8,8 @@ var AiOptionStatusEnum;
8
8
  })(AiOptionStatusEnum || (exports.AiOptionStatusEnum = AiOptionStatusEnum = {}));
9
9
  var AiOptionNamesEnum;
10
10
  (function (AiOptionNamesEnum) {
11
+ AiOptionNamesEnum["GEMINI_3_PRO"] = "gemini-3-pro-preview";
12
+ AiOptionNamesEnum["GEMINI_3_PRO_IMAGE"] = "gemini-3-pro-image-preview";
11
13
  // ===== Gemini 2.5 =====
12
14
  AiOptionNamesEnum["GEMINI_2_5_PRO"] = "gemini-2.5-pro";
13
15
  AiOptionNamesEnum["GEMINI_2_5_FLASH"] = "gemini-2.5-flash";
@@ -22,6 +24,11 @@ var AiOptionNamesEnum;
22
24
  // ===== Embeddings =====
23
25
  AiOptionNamesEnum["TEXT_EMBEDDING_004"] = "text-embedding-004";
24
26
  AiOptionNamesEnum["TEXT_EMBEDDING_ADA_002"] = "text-embedding-ada-002";
27
+ AiOptionNamesEnum["gpt5dot1"] = "gpt-5.1";
28
+ AiOptionNamesEnum["gpt5dot1Codex"] = "gpt-5.1-codex";
29
+ AiOptionNamesEnum["gpt5dot1CodexMax"] = "gpt-5.1-codex-max";
30
+ AiOptionNamesEnum["gpt5dot1CodexMini"] = "gpt-5.1-codex-mini";
31
+ AiOptionNamesEnum["gpt5dot1Chat"] = "gpt-5.1-chat-latest";
25
32
  AiOptionNamesEnum["gpt5Mini"] = "gpt-5-mini";
26
33
  AiOptionNamesEnum["gpt5Nano"] = "gpt-5-nano";
27
34
  AiOptionNamesEnum["gpt5"] = "gpt-5";
@@ -121,6 +121,11 @@ const messageSchema = new mongoose_1.default.Schema({
121
121
  type: mongoose_1.default.Schema.Types.Date,
122
122
  required: true,
123
123
  },
124
+ system: {
125
+ type: Boolean,
126
+ required: false,
127
+ default: false,
128
+ }
124
129
  },
125
130
  ],
126
131
  threadChatgptId: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.352",
3
+ "version": "1.0.354",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [