drapcode-constant 1.6.1 → 1.6.3

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.
@@ -0,0 +1,24 @@
1
+ export declare const OPEN_AI = "OPEN_AI";
2
+ export declare const CLAUDE_AI = "CLAUDE_AI";
3
+ export declare const DEEPSEEK_AI = "DEEPSEEK_AI";
4
+ export declare const aiModelTypes: string[];
5
+ export declare const openAiEngines: {
6
+ GPT_4_TURBO_2024_04_09: string;
7
+ GPT_4O_2024_05_13: string;
8
+ };
9
+ export declare const claudeAiEngines: {
10
+ CLAUDE_3_OPUS: string;
11
+ CLAUDE_3_HAIKU: string;
12
+ CLAUDE_3_5_SONNET_2024_06_20: string;
13
+ CLAUDE_3_5_SONNET_2024_10_22: string;
14
+ CLAUDE_3_5_SONNET_LATEST: string;
15
+ };
16
+ export declare const deepseekAiEngines: {
17
+ DEEP_SEEK_V3: string;
18
+ DEEP_SEEK_R1: string;
19
+ };
20
+ export declare const aiModelEngines: {
21
+ label: string;
22
+ value: string;
23
+ modelType: string;
24
+ }[];
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aiModelEngines = exports.deepseekAiEngines = exports.claudeAiEngines = exports.openAiEngines = exports.aiModelTypes = exports.DEEPSEEK_AI = exports.CLAUDE_AI = exports.OPEN_AI = void 0;
4
+ exports.OPEN_AI = "OPEN_AI";
5
+ exports.CLAUDE_AI = "CLAUDE_AI";
6
+ exports.DEEPSEEK_AI = "DEEPSEEK_AI";
7
+ exports.aiModelTypes = [exports.OPEN_AI, exports.CLAUDE_AI, exports.DEEPSEEK_AI];
8
+ exports.openAiEngines = {
9
+ // GPT_4_VISION: "gpt-4-vision-preview",
10
+ GPT_4_TURBO_2024_04_09: "gpt-4-turbo-2024-04-09",
11
+ GPT_4O_2024_05_13: "gpt-4o-2024-08-06",
12
+ };
13
+ exports.claudeAiEngines = {
14
+ // CLAUDE_3_SONNET: "claude-3-sonnet-20240229",
15
+ CLAUDE_3_OPUS: "claude-3-opus-20240229",
16
+ CLAUDE_3_HAIKU: "claude-3-haiku-20240307",
17
+ CLAUDE_3_5_SONNET_2024_06_20: "claude-3-5-sonnet-20240620",
18
+ CLAUDE_3_5_SONNET_2024_10_22: "claude-3-5-sonnet-20241022",
19
+ CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest",
20
+ };
21
+ exports.deepseekAiEngines = {
22
+ DEEP_SEEK_V3: "DeepSeek-V3",
23
+ DEEP_SEEK_R1: "DeepSeek-R1",
24
+ };
25
+ exports.aiModelEngines = [
26
+ // { label: openAiEngines.GPT_4_VISION, value: openAiEngines.GPT_4_VISION, modelType: OPEN_AI },
27
+ { label: exports.openAiEngines.GPT_4_TURBO_2024_04_09, value: exports.openAiEngines.GPT_4_TURBO_2024_04_09, modelType: exports.OPEN_AI },
28
+ { label: exports.openAiEngines.GPT_4O_2024_05_13, value: exports.openAiEngines.GPT_4O_2024_05_13, modelType: exports.OPEN_AI },
29
+ // { label: claudeAiEngines.CLAUDE_3_SONNET, value: claudeAiEngines.CLAUDE_3_SONNET, modelType: CLAUDE_AI },
30
+ { label: exports.claudeAiEngines.CLAUDE_3_OPUS, value: exports.claudeAiEngines.CLAUDE_3_OPUS, modelType: exports.CLAUDE_AI },
31
+ { label: exports.claudeAiEngines.CLAUDE_3_HAIKU, value: exports.claudeAiEngines.CLAUDE_3_HAIKU, modelType: exports.CLAUDE_AI },
32
+ { label: exports.claudeAiEngines.CLAUDE_3_5_SONNET_2024_06_20, value: exports.claudeAiEngines.CLAUDE_3_5_SONNET_2024_06_20, modelType: exports.CLAUDE_AI },
33
+ { label: exports.claudeAiEngines.CLAUDE_3_5_SONNET_2024_10_22, value: exports.claudeAiEngines.CLAUDE_3_5_SONNET_2024_10_22, modelType: exports.CLAUDE_AI },
34
+ { label: exports.claudeAiEngines.CLAUDE_3_5_SONNET_LATEST, value: exports.claudeAiEngines.CLAUDE_3_5_SONNET_LATEST, modelType: exports.CLAUDE_AI },
35
+ { label: exports.deepseekAiEngines.DEEP_SEEK_V3, value: exports.deepseekAiEngines.DEEP_SEEK_V3, modelType: exports.DEEPSEEK_AI },
36
+ { label: exports.deepseekAiEngines.DEEP_SEEK_R1, value: exports.deepseekAiEngines.DEEP_SEEK_R1, modelType: exports.DEEPSEEK_AI },
37
+ ];
@@ -28,3 +28,4 @@ export declare const CURRENT_YEAR = "CURRENT_YEAR";
28
28
  export declare const DateTimeUnit: string[];
29
29
  export declare const DateConstant: string[];
30
30
  export declare const DateRangeConstant: string[];
31
+ export declare const EQUALS_OR_IGNORE = "EQUALS_OR_IGNORE";
@@ -9,7 +9,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
9
9
  return to.concat(ar || Array.prototype.slice.call(from));
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DateRangeConstant = exports.DateConstant = exports.DateTimeUnit = exports.CURRENT_YEAR = exports.CURRENT_MONTH = exports.YEAR = exports.MONTH = exports.WEEK = exports.DAY = exports.HOUR = exports.CURRENT_DATE_TIME = exports.CURRENT_DATE = exports.CURRENT_TIME = exports.CURRENT_SETTINGS = exports.CURRENT_TENANT = exports.CURRENT_USER = exports.IS_BOOLEAN_FALSE = exports.IS_BOOLEAN_TRUE = exports.NOT_EQUAL = exports.BETWEEN = exports.GREATER_THAN_EQUALS_TO = exports.LESS_THAN_EQUALS_TO = exports.GREATER_THAN = exports.LESS_THAN = exports.NOT_IN_LIST = exports.IN_LIST = exports.LIKE = exports.IS_NULL = exports.IS_NOT_NULL = exports.EQUALS = void 0;
12
+ exports.EQUALS_OR_IGNORE = exports.DateRangeConstant = exports.DateConstant = exports.DateTimeUnit = exports.CURRENT_YEAR = exports.CURRENT_MONTH = exports.YEAR = exports.MONTH = exports.WEEK = exports.DAY = exports.HOUR = exports.CURRENT_DATE_TIME = exports.CURRENT_DATE = exports.CURRENT_TIME = exports.CURRENT_SETTINGS = exports.CURRENT_TENANT = exports.CURRENT_USER = exports.IS_BOOLEAN_FALSE = exports.IS_BOOLEAN_TRUE = exports.NOT_EQUAL = exports.BETWEEN = exports.GREATER_THAN_EQUALS_TO = exports.LESS_THAN_EQUALS_TO = exports.GREATER_THAN = exports.LESS_THAN = exports.NOT_IN_LIST = exports.IN_LIST = exports.LIKE = exports.IS_NULL = exports.IS_NOT_NULL = exports.EQUALS = void 0;
13
13
  exports.EQUALS = "EQUALS";
14
14
  exports.IS_NOT_NULL = "IS_NOT_NULL";
15
15
  exports.IS_NULL = "IS_NULL";
@@ -44,6 +44,7 @@ exports.DateConstant = __spreadArray([
44
44
  exports.CURRENT_DATE_TIME
45
45
  ], exports.DateTimeUnit, true);
46
46
  exports.DateRangeConstant = [exports.CURRENT_MONTH, exports.CURRENT_YEAR];
47
+ exports.EQUALS_OR_IGNORE = "EQUALS_OR_IGNORE";
47
48
  /*
48
49
  export const dateRangeConstants = [
49
50
  CURRENT_USER,
package/build/index.d.ts CHANGED
@@ -9,3 +9,4 @@ export * from "./constants/messages";
9
9
  export * from "./constants/loan";
10
10
  export * from "./constants/exportCode";
11
11
  export * from "./constants/permissions";
12
+ export * from "./constants/aiModel";
package/build/index.js CHANGED
@@ -25,3 +25,4 @@ __exportStar(require("./constants/messages"), exports);
25
25
  __exportStar(require("./constants/loan"), exports);
26
26
  __exportStar(require("./constants/exportCode"), exports);
27
27
  __exportStar(require("./constants/permissions"), exports);
28
+ __exportStar(require("./constants/aiModel"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-constant",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "Drapcode Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",