windmill-client 1.870.0 → 1.871.0

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.870.0",
32
+ VERSION: "1.871.0",
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.870.0",
129
+ VERSION: "1.871.0",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -13732,13 +13732,17 @@ export type ListDraftsResponse = Array<{
13732
13732
  kind: UserDraftItemKind;
13733
13733
  path: string;
13734
13734
  /**
13735
- * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one.
13735
+ * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one, or its `description` for an agent's draft.
13736
13736
  */
13737
13737
  summary?: string;
13738
13738
  /**
13739
13739
  * User-typed friendly path from the draft JSON's `draft_path`, when set and different from the storage path (e.g. a never-deployed item parked at `u/{user}/draft_{uuid}`).
13740
13740
  */
13741
13741
  draft_path?: string;
13742
+ /**
13743
+ * A `resource` draft's type, the deployed row's when there is one, else the one the draft names. `ai_agent` marks an agent's draft.
13744
+ */
13745
+ resource_type?: string;
13742
13746
  /**
13743
13747
  * No deployed counterpart exists at this path — the draft is the whole item.
13744
13748
  */
@@ -30134,13 +30138,17 @@ export type $OpenApiTs = {
30134
30138
  kind: UserDraftItemKind;
30135
30139
  path: string;
30136
30140
  /**
30137
- * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one.
30141
+ * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one, or its `description` for an agent's draft.
30138
30142
  */
30139
30143
  summary?: string;
30140
30144
  /**
30141
30145
  * User-typed friendly path from the draft JSON's `draft_path`, when set and different from the storage path (e.g. a never-deployed item parked at `u/{user}/draft_{uuid}`).
30142
30146
  */
30143
30147
  draft_path?: string;
30148
+ /**
30149
+ * A `resource` draft's type, the deployed row's when there is one, else the one the draft names. `ai_agent` marks an agent's draft.
30150
+ */
30151
+ resource_type?: string;
30144
30152
  /**
30145
30153
  * No deployed counterpart exists at this path — the draft is the whole item.
30146
30154
  */
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.870.0",
4
+ "version": "1.871.0",
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",