@cellaware/utils 9.6.3 → 9.6.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.
@@ -25,9 +25,10 @@ export interface BICanvasCustomWidget {
25
25
  }
26
26
  export interface BICanvasState {
27
27
  pages: any[];
28
- schema?: any;
29
28
  selectedPageId: string;
30
29
  customWidgets: BICanvasCustomWidget[];
30
+ /** **Deprecated** in favor of data source's `schema`. */
31
+ schema?: any;
31
32
  }
32
33
  export declare function initBICanvasState(): BICanvasState;
33
34
  export interface BiCanvasUsage {
@@ -72,8 +73,12 @@ export interface BIDataSource {
72
73
  tags: Tag[];
73
74
  views: BIDataSourceView[];
74
75
  relationships: BIDataSourceRelationship[];
76
+ /** **Deprecated** in favor of `schema`. */
75
77
  calculations: BIDataSourceExpression[];
78
+ /** **Deprecated** in favor of `schema`. */
76
79
  measures: BIDataSourceExpression[];
80
+ /** AG Studio dashboard `schema` object -- we want it coupled with the data source. */
81
+ schema?: any;
77
82
  clientId: string;
78
83
  userId: string;
79
84
  }
@@ -141,6 +141,8 @@ export interface ConditionalFormat {
141
141
  rule: string;
142
142
  value: string;
143
143
  value2?: string;
144
+ column?: boolean;
145
+ column2?: boolean;
144
146
  style: string;
145
147
  row: boolean;
146
148
  }
@@ -29,6 +29,8 @@ export interface ChatWMSUserSettings {
29
29
  /** Deprecated: this is a legacy value that can no longer be written to. It still exists here due legacy support requirements. */
30
30
  developer?: boolean;
31
31
  dateFormat?: ChatWMSDateFormat;
32
+ /** We normally expect `userDetails` to contain the user's email, but that is not the case with certain identity providers (ex: `okta`). */
33
+ alternateEmail?: string;
32
34
  clientId: string;
33
35
  }
34
36
  export declare function chatwmsInitUserSettings(): ChatWMSUserSettings;
package/dist/llm/cost.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // Important: prices increase with *long context* (>272K tokens).
3
3
  const MODEL_COSTS = {
4
4
  'gpt-6.1-sol': { inputCost: 2.00, outputCost: 10.00 },
5
+ 'gpt-6.1-terra': { inputCost: 1.00, outputCost: 5.00 },
5
6
  'gpt-6-astra': { inputCost: 10.00, outputCost: 50.00 },
6
7
  'gpt-6-sol': { inputCost: 2.00, outputCost: 10.00 },
7
8
  'gpt-6-luna': { inputCost: 0.10, outputCost: 0.50 },
@@ -1,4 +1,4 @@
1
- export type ModelName = 'gpt-6.1-sol' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.4-pro' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.2-pro' | 'gpt-5.2-codex' | 'gpt-5.2-chat-latest' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini';
1
+ export type ModelName = 'gpt-6.1-sol' | 'gpt-6.1-terra' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6-luna' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.4-pro' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.2-pro' | 'gpt-5.2-codex' | 'gpt-5.2-chat-latest' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini';
2
2
  export type ReasoningEffort = 'none' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
3
3
  export type Verbosity = 'low' | 'medium' | 'high';
4
4
  export interface OpenAIModelOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.6.3",
3
+ "version": "9.6.5",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",