windmill-client 1.799.0 → 1.800.1

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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.799.0",
32
+ VERSION: "1.800.1",
33
33
  WITH_CREDENTIALS: !getEnv("WM_RAW_APP"),
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.799.0",
129
+ VERSION: "1.800.1",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -1854,10 +1854,24 @@ export type AIConfig = {
1854
1854
  max_tokens_per_model?: {
1855
1855
  [key: string]: (number);
1856
1856
  };
1857
+ free_tier?: FreeTierInfo;
1857
1858
  model_pricing?: {
1858
1859
  [key: string]: ModelPriceOverride;
1859
1860
  };
1860
1861
  };
1862
+ /**
1863
+ * Read-only. Present when the workspace has no AI provider of its own and is running on Windmill's free tier. Ignored on write.
1864
+ */
1865
+ export type FreeTierInfo = {
1866
+ /**
1867
+ * The one-time grant is spent; no provider is served and the user must add their own API key.
1868
+ */
1869
+ exhausted: boolean;
1870
+ /**
1871
+ * Fraction of the grant consumed, 0 to 1.
1872
+ */
1873
+ used_ratio: number;
1874
+ };
1861
1875
  /**
1862
1876
  * negotiated rates in USD per million tokens, keyed `provider:model`
1863
1877
  */
@@ -6092,7 +6106,25 @@ export type JobSearchHit = {
6092
6106
  dancer?: string;
6093
6107
  };
6094
6108
  export type LogSearchHit = {
6095
- dancer?: string;
6109
+ /**
6110
+ * timestamp of the log line itself, not of the file containing it
6111
+ */
6112
+ ts: string;
6113
+ host: string;
6114
+ level: 'TRACE' | 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
6115
+ /**
6116
+ * the tracing target that emitted the line
6117
+ */
6118
+ target?: string | null;
6119
+ message: string;
6120
+ /**
6121
+ * the log file the line came from
6122
+ */
6123
+ file_path: string;
6124
+ /**
6125
+ * offset of the line within its file
6126
+ */
6127
+ line_no: number;
6096
6128
  };
6097
6129
  export type AutoscalingEvent = {
6098
6130
  id?: number;
@@ -17153,7 +17185,7 @@ export type SearchLogsIndexResponse = {
17153
17185
  */
17154
17186
  query_parse_errors?: Array<(string)>;
17155
17187
  /**
17156
- * log files that matched the query
17188
+ * the log lines that matched the query, newest first
17157
17189
  */
17158
17190
  hits?: Array<LogSearchHit>;
17159
17191
  };
@@ -35009,7 +35041,7 @@ export type $OpenApiTs = {
35009
35041
  */
35010
35042
  query_parse_errors?: Array<(string)>;
35011
35043
  /**
35012
- * log files that matched the query
35044
+ * the log lines that matched the query, newest first
35013
35045
  */
35014
35046
  hits?: Array<LogSearchHit>;
35015
35047
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.799.0",
4
+ "version": "1.800.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",