@databricks/appkit-ui 0.88.1 → 0.89.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.
Files changed (136) hide show
  1. package/CLAUDE.md +7 -2
  2. package/dist/cli/commands/doctor/checks-existence.js +16 -16
  3. package/dist/cli/commands/doctor/checks-existence.js.map +1 -1
  4. package/dist/cli/commands/doctor/checks.js +15 -18
  5. package/dist/cli/commands/doctor/checks.js.map +1 -1
  6. package/dist/cli/commands/doctor/databricks-client.js +8 -6
  7. package/dist/cli/commands/doctor/databricks-client.js.map +1 -1
  8. package/dist/cli/commands/registry/workspace-picker.js +34 -24
  9. package/dist/cli/commands/registry/workspace-picker.js.map +1 -1
  10. package/dist/react/genie/genie-chart-inference.js.map +1 -1
  11. package/dist/react/genie/genie-query-transform.d.ts +5 -2
  12. package/dist/react/genie/genie-query-transform.d.ts.map +1 -1
  13. package/dist/react/genie/genie-query-transform.js +14 -8
  14. package/dist/react/genie/genie-query-transform.js.map +1 -1
  15. package/dist/shared/src/genie.d.ts +9 -3
  16. package/dist/shared/src/genie.d.ts.map +1 -1
  17. package/dist/shared/src/workspace-client/factory.d.ts +0 -1
  18. package/dist/shared/src/workspace-client/index.d.ts +1 -2
  19. package/dist/shared/src/workspace-client/modular.d.ts +19 -0
  20. package/dist/shared/src/workspace-client/types.d.ts +1 -2
  21. package/dist/workspace-client/client.js +81 -23
  22. package/dist/workspace-client/client.js.map +1 -1
  23. package/dist/workspace-client/errors.d.ts +14 -2
  24. package/dist/workspace-client/errors.d.ts.map +1 -0
  25. package/dist/workspace-client/errors.js +45 -2
  26. package/dist/workspace-client/errors.js.map +1 -0
  27. package/dist/workspace-client/factory.d.ts +1 -1
  28. package/dist/workspace-client/factory.js.map +1 -1
  29. package/dist/workspace-client/index.d.ts +4 -3
  30. package/dist/workspace-client/index.js +2 -2
  31. package/dist/workspace-client/modular.d.ts +109 -0
  32. package/dist/workspace-client/modular.d.ts.map +1 -0
  33. package/dist/workspace-client/modular.js +447 -0
  34. package/dist/workspace-client/modular.js.map +1 -0
  35. package/dist/workspace-client/options.d.ts +29 -0
  36. package/dist/workspace-client/options.d.ts.map +1 -0
  37. package/dist/workspace-client/types.d.ts +35 -38
  38. package/dist/workspace-client/types.d.ts.map +1 -1
  39. package/docs/api/appkit/Class.ApiError.md +110 -0
  40. package/docs/api/appkit/Class.DatabricksAdapter.md +2 -2
  41. package/docs/api/appkit/Class.SupervisorApiAdapter.md +1 -1
  42. package/docs/api/appkit/Function.generateDatabaseCredential.md +2 -2
  43. package/docs/api/appkit/Function.getWorkspaceClient.md +2 -2
  44. package/docs/api/appkit/Interface.DirectoryEntry.md +62 -0
  45. package/docs/api/appkit/Interface.DownloadResponse.md +45 -0
  46. package/docs/api/appkit/Interface.JobAPI.md +20 -12
  47. package/docs/api/appkit/Interface.LakebasePoolConfig.md +1 -1
  48. package/docs/api/appkit/Interface.WorkspaceClient.md +168 -26
  49. package/docs/api/appkit/Interface.WorkspaceClientOptions.md +1 -14
  50. package/docs/api/appkit/TypeAlias.FilesDirectoryEntry.md +8 -0
  51. package/docs/api/appkit/TypeAlias.FilesDownloadResponse.md +8 -0
  52. package/docs/api/appkit/TypeAlias.JobsExport.md +1 -1
  53. package/docs/api/appkit/TypeAlias.WorkspaceClientLike.md +16 -0
  54. package/docs/api/appkit.md +7 -2
  55. package/docs/plugins/files.md +20 -3
  56. package/docs/plugins/jobs.md +9 -9
  57. package/docs/plugins/testing.md +10 -8
  58. package/llms.txt +7 -2
  59. package/node_modules/@databricks/sdk-genie/LICENSE +203 -0
  60. package/node_modules/@databricks/sdk-genie/README.md +23 -0
  61. package/node_modules/@databricks/sdk-genie/dist/package.js +7 -0
  62. package/node_modules/@databricks/sdk-genie/dist/package.js.map +1 -0
  63. package/node_modules/@databricks/sdk-genie/dist/v1/client.d.ts +175 -0
  64. package/node_modules/@databricks/sdk-genie/dist/v1/client.d.ts.map +1 -0
  65. package/node_modules/@databricks/sdk-genie/dist/v1/client.js +829 -0
  66. package/node_modules/@databricks/sdk-genie/dist/v1/client.js.map +1 -0
  67. package/node_modules/@databricks/sdk-genie/dist/v1/index.d.ts +3 -0
  68. package/node_modules/@databricks/sdk-genie/dist/v1/index.js +4 -0
  69. package/node_modules/@databricks/sdk-genie/dist/v1/model.d.ts +1799 -0
  70. package/node_modules/@databricks/sdk-genie/dist/v1/model.d.ts.map +1 -0
  71. package/node_modules/@databricks/sdk-genie/dist/v1/model.js +1097 -0
  72. package/node_modules/@databricks/sdk-genie/dist/v1/model.js.map +1 -0
  73. package/node_modules/@databricks/sdk-genie/dist/v1/transport.d.ts +37 -0
  74. package/node_modules/@databricks/sdk-genie/dist/v1/transport.d.ts.map +1 -0
  75. package/node_modules/@databricks/sdk-genie/dist/v1/transport.js +73 -0
  76. package/node_modules/@databricks/sdk-genie/dist/v1/transport.js.map +1 -0
  77. package/node_modules/@databricks/sdk-genie/dist/v1/utils.d.ts +43 -0
  78. package/node_modules/@databricks/sdk-genie/dist/v1/utils.d.ts.map +1 -0
  79. package/node_modules/@databricks/sdk-genie/dist/v1/utils.js +130 -0
  80. package/node_modules/@databricks/sdk-genie/dist/v1/utils.js.map +1 -0
  81. package/node_modules/@databricks/sdk-genie/package.json +46 -0
  82. package/node_modules/@databricks/sdk-statementexecution/LICENSE +203 -0
  83. package/node_modules/@databricks/sdk-statementexecution/README.md +23 -0
  84. package/node_modules/@databricks/sdk-statementexecution/dist/package.js +7 -0
  85. package/node_modules/@databricks/sdk-statementexecution/dist/package.js.map +1 -0
  86. package/node_modules/@databricks/sdk-statementexecution/dist/v1/client.d.ts +91 -0
  87. package/node_modules/@databricks/sdk-statementexecution/dist/v1/client.d.ts.map +1 -0
  88. package/node_modules/@databricks/sdk-statementexecution/dist/v1/client.js +183 -0
  89. package/node_modules/@databricks/sdk-statementexecution/dist/v1/client.js.map +1 -0
  90. package/node_modules/@databricks/sdk-statementexecution/dist/v1/index.d.ts +3 -0
  91. package/node_modules/@databricks/sdk-statementexecution/dist/v1/index.js +4 -0
  92. package/node_modules/@databricks/sdk-statementexecution/dist/v1/model.d.ts +506 -0
  93. package/node_modules/@databricks/sdk-statementexecution/dist/v1/model.d.ts.map +1 -0
  94. package/node_modules/@databricks/sdk-statementexecution/dist/v1/model.js +302 -0
  95. package/node_modules/@databricks/sdk-statementexecution/dist/v1/model.js.map +1 -0
  96. package/node_modules/@databricks/sdk-statementexecution/dist/v1/transport.d.ts +37 -0
  97. package/node_modules/@databricks/sdk-statementexecution/dist/v1/transport.d.ts.map +1 -0
  98. package/node_modules/@databricks/sdk-statementexecution/dist/v1/transport.js +73 -0
  99. package/node_modules/@databricks/sdk-statementexecution/dist/v1/transport.js.map +1 -0
  100. package/node_modules/@databricks/sdk-statementexecution/dist/v1/utils.d.ts +25 -0
  101. package/node_modules/@databricks/sdk-statementexecution/dist/v1/utils.d.ts.map +1 -0
  102. package/node_modules/@databricks/sdk-statementexecution/dist/v1/utils.js +87 -0
  103. package/node_modules/@databricks/sdk-statementexecution/dist/v1/utils.js.map +1 -0
  104. package/node_modules/@databricks/sdk-statementexecution/package.json +46 -0
  105. package/node_modules/@databricks/sdk-vectorsearch/LICENSE +203 -0
  106. package/node_modules/@databricks/sdk-vectorsearch/README.md +23 -0
  107. package/node_modules/@databricks/sdk-vectorsearch/dist/package.js +7 -0
  108. package/node_modules/@databricks/sdk-vectorsearch/dist/package.js.map +1 -0
  109. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/client.d.ts +70 -0
  110. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/client.d.ts.map +1 -0
  111. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/client.js +474 -0
  112. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/client.js.map +1 -0
  113. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/index.d.ts +3 -0
  114. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/index.js +4 -0
  115. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/model.d.ts +704 -0
  116. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/model.d.ts.map +1 -0
  117. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/model.js +635 -0
  118. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/model.js.map +1 -0
  119. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/transport.d.ts +37 -0
  120. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/transport.d.ts.map +1 -0
  121. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/transport.js +73 -0
  122. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/transport.js.map +1 -0
  123. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/utils.d.ts +37 -0
  124. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/utils.d.ts.map +1 -0
  125. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/utils.js +104 -0
  126. package/node_modules/@databricks/sdk-vectorsearch/dist/v1/utils.js.map +1 -0
  127. package/node_modules/@databricks/sdk-vectorsearch/package.json +46 -0
  128. package/package.json +29 -4
  129. package/sbom.cdx.json +1 -1
  130. package/dist/shared/src/workspace-client/errors.d.ts +0 -1
  131. package/dist/shared/src/workspace-client/legacy.d.ts +0 -3
  132. package/dist/workspace-client/legacy.d.ts +0 -34
  133. package/dist/workspace-client/legacy.d.ts.map +0 -1
  134. package/dist/workspace-client/legacy.js +0 -23
  135. package/dist/workspace-client/legacy.js.map +0 -1
  136. package/docs/api/appkit/Interface.WorkspaceClientLike.md +0 -67
@@ -0,0 +1,1799 @@
1
+ import { Temporal } from "@js-temporal/polyfill";
2
+ import { z } from "zod";
3
+
4
+ //#region src/v1/model.d.ts
5
+ declare const ColumnTypeName: {
6
+ readonly BOOLEAN: "BOOLEAN";
7
+ readonly BYTE: "BYTE";
8
+ readonly SHORT: "SHORT";
9
+ readonly INT: "INT";
10
+ readonly LONG: "LONG";
11
+ readonly FLOAT: "FLOAT";
12
+ readonly DOUBLE: "DOUBLE";
13
+ readonly DATE: "DATE";
14
+ readonly TIMESTAMP: "TIMESTAMP";
15
+ readonly STRING: "STRING";
16
+ readonly BINARY: "BINARY";
17
+ readonly DECIMAL: "DECIMAL";
18
+ readonly INTERVAL: "INTERVAL";
19
+ readonly ARRAY: "ARRAY";
20
+ readonly STRUCT: "STRUCT";
21
+ readonly MAP: "MAP";
22
+ readonly CHAR: "CHAR";
23
+ readonly NULL: "NULL";
24
+ readonly USER_DEFINED_TYPE: "USER_DEFINED_TYPE";
25
+ readonly TIMESTAMP_NTZ: "TIMESTAMP_NTZ";
26
+ readonly VARIANT: "VARIANT";
27
+ readonly GEOMETRY: "GEOMETRY";
28
+ readonly GEOGRAPHY: "GEOGRAPHY";
29
+ readonly TABLE_TYPE: "TABLE_TYPE";
30
+ };
31
+ type ColumnTypeName = (typeof ColumnTypeName)[keyof typeof ColumnTypeName] | (string & {});
32
+ /** Error codes returned by Databricks APIs to indicate specific failure conditions. */
33
+ declare const ErrorCode: {
34
+ /**
35
+ * Unknown error. This error generally should not be returned explicitly, but will be used
36
+ * as a fallback if the error enum is missing from the message for some reason.
37
+ *
38
+ * It's assigned tag 0 to follow the best practice from
39
+ * https://developers.google.com/protocol-buffers/docs/style#enums
40
+ *
41
+ * TODO(PLAT-55898): Add custom option to declare HTTP and gRPC mappings.
42
+ * Maps to:
43
+ * - google.rpc.Code: UNKNOWN = 2;
44
+ * - HTTP code: 500 Internal Server Error
45
+ */
46
+ readonly UNKNOWN: "UNKNOWN";
47
+ /**
48
+ * Internal error. This means that some invariants expected by the underlying system have been
49
+ * broken. This error code is reserved for serious errors, which generally cannot be resolved
50
+ * by the user.
51
+ *
52
+ * Prefer this over all kinds of detailed error messages (e.g IO_ERROR), unless there's some
53
+ * automation that relies on the custom error code.
54
+ *
55
+ * Maps to:
56
+ * - google.rpc.Code: INTERNAL = 13;
57
+ * - HTTP code: 500 Internal Server Error
58
+ */
59
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
60
+ /**
61
+ * The service is currently unavailable. This is most likely a transient condition, which can be
62
+ * corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent
63
+ * operations.
64
+ *
65
+ * Prefer this over SERVICE_UNDER_MAINTENANCE, WORKSPACE_TEMPORARILY_UNAVAILABLE.
66
+ *
67
+ * See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
68
+ * for guideline on how to pick this vs RESOURCE_EXHAUSTED.
69
+ *
70
+ * Maps to:
71
+ * - google.rpc.Code: UNAVAILABLE = 14;
72
+ * - HTTP code: 503 Service Unavailable
73
+ */
74
+ readonly TEMPORARILY_UNAVAILABLE: "TEMPORARILY_UNAVAILABLE";
75
+ /**
76
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
77
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
78
+ * Indicates that an IOException has been internally thrown.
79
+ */
80
+ readonly IO_ERROR: "IO_ERROR";
81
+ /**
82
+ * The request is invalid. Prefer more specific error code whenever possible.
83
+ * Also see similar recommendation for the google.rpc.Code.FAILED_PRECONDITION.
84
+ *
85
+ * Prefer this error code over MALFORMED_REQUEST, INVALID_STATE, UNPARSEABLE_HTTP_ERROR.
86
+ *
87
+ * Maps to:
88
+ * - google.rpc.Code: FAILED_PRECONDITION = 9;
89
+ * - HTTP code: 400 Bad Request
90
+ */
91
+ readonly BAD_REQUEST: "BAD_REQUEST";
92
+ /**
93
+ * An external service is unavailable temporarily as it is being updated/re-deployed. Indicates
94
+ * gateway proxy to safely retry the request.
95
+ */
96
+ readonly SERVICE_UNDER_MAINTENANCE: "SERVICE_UNDER_MAINTENANCE"; /** A workspace is temporarily unavailable as the workspace is being re-assigned. */
97
+ readonly WORKSPACE_TEMPORARILY_UNAVAILABLE: "WORKSPACE_TEMPORARILY_UNAVAILABLE";
98
+ /**
99
+ * The deadline expired before the operation could complete. For operations that change the state
100
+ * of the system, this error may be returned even if the operation has completed successfully.
101
+ * For example, a successful response from a server could have been delayed long enough for
102
+ * the deadline to expire. When possible - implementations should make sure further processing of
103
+ * the request is aborted, e.g. by throwing an exception instead of making the RPC request,
104
+ * making the database query, etc.
105
+ *
106
+ * Maps to:
107
+ * - google.rpc.Code: DEADLINE_EXCEEDED = 4;
108
+ * - HTTP code: 504 Gateway Timeout
109
+ */
110
+ readonly DEADLINE_EXCEEDED: "DEADLINE_EXCEEDED";
111
+ /**
112
+ * The operation was canceled by the caller. An example - client closed the connection without
113
+ * waiting for a response.
114
+ *
115
+ * Maps to:
116
+ * - google.rpc.Code: CANCELLED = 1;
117
+ * - HTTP code: 499 Client Closed Request
118
+ */
119
+ readonly CANCELLED: "CANCELLED";
120
+ /**
121
+ * The operation is rejected because of either rate limiting or resource quota,
122
+ * such as the client has sent too many requests recently or the client has allocated too many
123
+ * resources.
124
+ *
125
+ * See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
126
+ * for guideline on how to pick this vs TEMPORARILY_UNAVAILABLE.
127
+ *
128
+ * Maps to:
129
+ * - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
130
+ * - HTTP code: 429 Too Many Requests
131
+ */
132
+ readonly RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED";
133
+ /**
134
+ * The operation was aborted, typically due to a concurrency issue such as a sequencer
135
+ * check failure, transaction abort, or transaction conflict.
136
+ *
137
+ * Maps to:
138
+ * - google.rpc.Code: ABORTED = 10;
139
+ * - HTTP code: 409 Conflict
140
+ */
141
+ readonly ABORTED: "ABORTED";
142
+ /**
143
+ * Operation was performed on a resource that does not exist,
144
+ * e.g. file or directory was not found.
145
+ *
146
+ * Maps to:
147
+ * - google.rpc.Code: NOT_FOUND = 5;
148
+ * - HTTP code: 404 Not Found
149
+ */
150
+ readonly NOT_FOUND: "NOT_FOUND";
151
+ /**
152
+ * Operation was rejected due a conflict with an existing resource, e.g. attempted to create
153
+ * file or directory that already exists.
154
+ *
155
+ * Prefer this over RESOURCE_CONFLICT.
156
+ *
157
+ * Maps to:
158
+ * - google.rpc.Code: ALREADY_EXISTS = 6;
159
+ * - HTTP code: 409 Conflict
160
+ */
161
+ readonly ALREADY_EXISTS: "ALREADY_EXISTS";
162
+ /**
163
+ * The request does not have valid authentication (AuthN) credentials for the operation.
164
+ *
165
+ * Prefer this over CUSTOMER_UNAUTHORIZED, unless you need to keep consistent behavior with legacy
166
+ * code.
167
+ * For authorization (AuthZ) errors use PERMISSION_DENIED.
168
+ *
169
+ * Maps to:
170
+ * - google.rpc.Code: UNAUTHENTICATED = 16;
171
+ * - HTTP code: 401 Unauthorized
172
+ */
173
+ readonly UNAUTHENTICATED: "UNAUTHENTICATED";
174
+ /**
175
+ * The service is currently unavailable. Please note that the unavailability may or may not be transient.
176
+ * That means if this is a non-transient condition, retrying it does not work. If the unavailability
177
+ * is certainly a transient condition, pleases use `TEMPORARILY_UNAVAILABLE` which signals its transient
178
+ * nature explicitly.
179
+ * An example of this error code’s use case is that when DNS resolution fails, the DNS resolver does
180
+ * not know whether it is because the domain name is completely wrong (non-transient situation) or
181
+ * the domain name is valid but the DNS server does not have an entry for this domain name yet (transient
182
+ * situation). Hence, `UNAVAILABLE` is suitable for this case.
183
+ *
184
+ * Maps to:
185
+ * - google.rpc.Code: UNAVAILABLE = 14;
186
+ * - HTTP code: 503 Service Unavailable
187
+ */
188
+ readonly UNAVAILABLE: "UNAVAILABLE";
189
+ /**
190
+ * Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
191
+ *
192
+ * Maps to:
193
+ * - google.rpc.Code: INVALID_ARGUMENT = 3;
194
+ * - HTTP code: 400 Bad Request
195
+ */
196
+ readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
197
+ /**
198
+ * Indicates that the given API endpoint does not exist. Legacy, when possible - NOT_IMPLEMENTED
199
+ * should be used instead to indicate that API doesn't exist.
200
+ *
201
+ * Maps to:
202
+ * - google.rpc.Code: NOT_FOUND = 5;
203
+ * - HTTP code: 404 Not Found
204
+ */
205
+ readonly ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND"; /** Indicates that the given API request was malformed. */
206
+ readonly MALFORMED_REQUEST: "MALFORMED_REQUEST";
207
+ /**
208
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
209
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
210
+ * If one or more of the inputs to a given RPC are not in a valid state for the action.
211
+ */
212
+ readonly INVALID_STATE: "INVALID_STATE";
213
+ /**
214
+ * The caller does not have permission to execute the specified operation.
215
+ * PERMISSION_DENIED must not be used for rejections caused by exhausting some resource,
216
+ * use RESOURCE_EXHAUSTED instead for those errors.
217
+ * PERMISSION_DENIED must not be used if the caller can not be identified,
218
+ * use CUSTOMER_UNAUTHORIZED instead for those errors.
219
+ * This error code does not imply the request is valid or the requested entity exists or
220
+ * satisfies other pre-conditions.
221
+ *
222
+ * Maps to:
223
+ * - google.rpc.Code: PERMISSION_DENIED = 7;
224
+ * - HTTP code: 403 Forbidden
225
+ */
226
+ readonly PERMISSION_DENIED: "PERMISSION_DENIED";
227
+ /**
228
+ * NOTE: Deprecated due to inconsistent mapping in legacy code, see
229
+ * https://docs.google.com/document/d/17TZIKX_Y39cJMBr333lc-d5dTvvBLSu3DPUyGU5eMJg/edit?disco=AAAAzVGt6FA.
230
+ * Prefer using NOT_FOUND or PERMISSION_DENIED.
231
+ *
232
+ * If a given user/entity is trying to use a feature which has been disabled.
233
+ *
234
+ * Maps to:
235
+ * - google.rpc.Code: NOT_FOUND = 5;
236
+ * - HTTP code: 404 Not Found
237
+ */
238
+ readonly FEATURE_DISABLED: "FEATURE_DISABLED";
239
+ /**
240
+ * The request does not have valid authentication (AuthN) credentials for the operation.
241
+ *
242
+ * For authentication (AuthN) errors prefer using UNAUTHENTICATED, unless you need to keep
243
+ * consistent behavior with legacy code.
244
+ * For authorization (AuthZ) errors use PERMISSION_DENIED.
245
+ *
246
+ * Important: name is confusing, this error code is for authentication (AuthN) errors, not
247
+ * authorization (AuthZ) errors. It maps to 401 Unauthorized and suffers from the same confusing
248
+ * naming. See https://datatracker.ietf.org/doc/html/rfc7235#section-3.1 - "[...] status code
249
+ * indicates that the request has not been applied because it lacks valid authentication
250
+ * credentials for the target resource. [...] If the request included authentication credentials,
251
+ * then the 401 response indicates that authorization has been refused for those credentials."
252
+ *
253
+ * Also, see https://stackoverflow.com/a/6937030/16352922, it covers it pretty well.
254
+ *
255
+ * Maps to:
256
+ * - google.rpc.Code: UNAUTHENTICATED = 16;
257
+ * - HTTP code: 401 Unauthorized
258
+ */
259
+ readonly CUSTOMER_UNAUTHORIZED: "CUSTOMER_UNAUTHORIZED";
260
+ /**
261
+ * The operation is rejected because of request rate limit, for example rate limiting applied to
262
+ * users, workspaces, IP addresses, etc.
263
+ *
264
+ * Prefer a more generic RESOURCE_EXHAUSTED for the new use cases.
265
+ *
266
+ * See https://docs.google.com/document/d/1FL8p2sbYWqBPL-UvhzI7uXAw4EoLG7Rj6PAOQWZRSOk/edit#
267
+ * for guideline on the rate limiting vs throttling.
268
+ *
269
+ * Maps to:
270
+ * - google.rpc.Code: RESOURCE_EXHAUSTED = 8;
271
+ * - HTTP code: 429 Too Many Requests
272
+ */
273
+ readonly REQUEST_LIMIT_EXCEEDED: "REQUEST_LIMIT_EXCEEDED"; /** Indicates API request was rejected due a conflict with an existing resource. */
274
+ readonly RESOURCE_CONFLICT: "RESOURCE_CONFLICT";
275
+ /**
276
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
277
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
278
+ * Indicates that the HTTP response cannot be correctly deserialized.
279
+ * This currently is only used in DUST test clients, and not by any real service code.
280
+ */
281
+ readonly UNPARSEABLE_HTTP_ERROR: "UNPARSEABLE_HTTP_ERROR";
282
+ /**
283
+ * The operation is not implemented or is not supported/enabled in this service.
284
+ *
285
+ * Maps to:
286
+ * - google.rpc.Code: UNIMPLEMENTED = 12;
287
+ * - HTTP code: 501 Not Implemented
288
+ */
289
+ readonly NOT_IMPLEMENTED: "NOT_IMPLEMENTED";
290
+ /**
291
+ * Unrecoverable data loss or corruption.
292
+ *
293
+ * One of the major use cases is to indicate that server failed to validate the integrity of
294
+ * the request. This error can occur when the checksum specified in the `X-Databricks-Checksum`
295
+ * request header (or trailer) doesn't match the actual request content checksum.
296
+ *
297
+ * Note, in case of the severe corruption that results in a malformed request, the server may
298
+ * send a generic `400 Bad Request` response rather than sending this error code.
299
+ *
300
+ * Maps to:
301
+ * - google.rpc.Code: DATA_LOSS = 15;
302
+ * - HTTP code: 500 Internal Server Error
303
+ */
304
+ readonly DATA_LOSS: "DATA_LOSS"; /** If the user attempts to perform an invalid state transition on a shard. */
305
+ readonly INVALID_STATE_TRANSITION: "INVALID_STATE_TRANSITION";
306
+ /**
307
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
308
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
309
+ * Unable to perform the operation because the shard was locked by some other operation.
310
+ */
311
+ readonly COULD_NOT_ACQUIRE_LOCK: "COULD_NOT_ACQUIRE_LOCK";
312
+ /**
313
+ * NOTE: Deprecated, prefer using ALREADY_EXISTS.
314
+ * Unlike ALREADY_EXISTS - this maps to HTTP code 400 Bad Request due to legacy reasons,
315
+ * remapping will be a backwards incompatible change.
316
+ *
317
+ * Operation was performed on a resource that already exists.
318
+ */
319
+ readonly RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS";
320
+ /**
321
+ * NOTE: Deprecated, prefer using NOT_FOUND - see the note for the RESOURCE_ALREADY_EXISTS,
322
+ * because this pair of codes is related and RESOURCE_ALREADY_EXISTS has bad mapping to the HTTP
323
+ * codes we added new error codes NOT_FOUND and ALREADY_EXISTS, and recommend to use them instead.
324
+ *
325
+ * Operation was performed on a resource that does not exist.
326
+ */
327
+ readonly RESOURCE_DOES_NOT_EXIST: "RESOURCE_DOES_NOT_EXIST";
328
+ /**
329
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
330
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
331
+ */
332
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
333
+ /**
334
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
335
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
336
+ */
337
+ readonly MAX_BLOCK_SIZE_EXCEEDED: "MAX_BLOCK_SIZE_EXCEEDED";
338
+ /**
339
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
340
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
341
+ */
342
+ readonly MAX_READ_SIZE_EXCEEDED: "MAX_READ_SIZE_EXCEEDED";
343
+ readonly PARTIAL_DELETE: "PARTIAL_DELETE";
344
+ readonly MAX_LIST_SIZE_EXCEEDED: "MAX_LIST_SIZE_EXCEEDED";
345
+ /**
346
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
347
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
348
+ */
349
+ readonly DRY_RUN_FAILED: "DRY_RUN_FAILED";
350
+ /**
351
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
352
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
353
+ * Cluster request was rejected because it would exceed a resource limit.
354
+ */
355
+ readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
356
+ /**
357
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
358
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
359
+ */
360
+ readonly DIRECTORY_NOT_EMPTY: "DIRECTORY_NOT_EMPTY";
361
+ /**
362
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
363
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
364
+ */
365
+ readonly DIRECTORY_PROTECTED: "DIRECTORY_PROTECTED";
366
+ /**
367
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
368
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
369
+ */
370
+ readonly MAX_NOTEBOOK_SIZE_EXCEEDED: "MAX_NOTEBOOK_SIZE_EXCEEDED";
371
+ readonly MAX_CHILD_NODE_SIZE_EXCEEDED: "MAX_CHILD_NODE_SIZE_EXCEEDED";
372
+ /**
373
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
374
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
375
+ */
376
+ readonly SEARCH_QUERY_TOO_LONG: "SEARCH_QUERY_TOO_LONG";
377
+ /**
378
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
379
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
380
+ */
381
+ readonly SEARCH_QUERY_TOO_SHORT: "SEARCH_QUERY_TOO_SHORT";
382
+ /**
383
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
384
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
385
+ */
386
+ readonly MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST: "MANAGED_RESOURCE_GROUP_DOES_NOT_EXIST";
387
+ /**
388
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
389
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
390
+ */
391
+ readonly PERMISSION_NOT_PROPAGATED: "PERMISSION_NOT_PROPAGATED";
392
+ /**
393
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
394
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
395
+ */
396
+ readonly DEPLOYMENT_TIMEOUT: "DEPLOYMENT_TIMEOUT";
397
+ /**
398
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
399
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
400
+ */
401
+ readonly GIT_CONFLICT: "GIT_CONFLICT";
402
+ /**
403
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
404
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
405
+ */
406
+ readonly GIT_UNKNOWN_REF: "GIT_UNKNOWN_REF";
407
+ /**
408
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
409
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
410
+ */
411
+ readonly GIT_SENSITIVE_TOKEN_DETECTED: "GIT_SENSITIVE_TOKEN_DETECTED";
412
+ /**
413
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
414
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
415
+ */
416
+ readonly GIT_URL_NOT_ON_ALLOW_LIST: "GIT_URL_NOT_ON_ALLOW_LIST";
417
+ /**
418
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
419
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
420
+ */
421
+ readonly GIT_REMOTE_ERROR: "GIT_REMOTE_ERROR";
422
+ /**
423
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
424
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
425
+ */
426
+ readonly PROJECTS_OPERATION_TIMEOUT: "PROJECTS_OPERATION_TIMEOUT";
427
+ /**
428
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
429
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
430
+ */
431
+ readonly IPYNB_FILE_IN_REPO: "IPYNB_FILE_IN_REPO";
432
+ /**
433
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
434
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
435
+ */
436
+ readonly INSECURE_PARTNER_RESPONSE: "INSECURE_PARTNER_RESPONSE";
437
+ /**
438
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
439
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
440
+ */
441
+ readonly MALFORMED_PARTNER_RESPONSE: "MALFORMED_PARTNER_RESPONSE";
442
+ readonly METASTORE_DOES_NOT_EXIST: "METASTORE_DOES_NOT_EXIST";
443
+ /**
444
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
445
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
446
+ */
447
+ readonly DAC_DOES_NOT_EXIST: "DAC_DOES_NOT_EXIST";
448
+ readonly CATALOG_DOES_NOT_EXIST: "CATALOG_DOES_NOT_EXIST";
449
+ readonly SCHEMA_DOES_NOT_EXIST: "SCHEMA_DOES_NOT_EXIST";
450
+ readonly TABLE_DOES_NOT_EXIST: "TABLE_DOES_NOT_EXIST";
451
+ readonly SHARE_DOES_NOT_EXIST: "SHARE_DOES_NOT_EXIST";
452
+ readonly RECIPIENT_DOES_NOT_EXIST: "RECIPIENT_DOES_NOT_EXIST";
453
+ readonly STORAGE_CREDENTIAL_DOES_NOT_EXIST: "STORAGE_CREDENTIAL_DOES_NOT_EXIST";
454
+ readonly EXTERNAL_LOCATION_DOES_NOT_EXIST: "EXTERNAL_LOCATION_DOES_NOT_EXIST";
455
+ readonly PRINCIPAL_DOES_NOT_EXIST: "PRINCIPAL_DOES_NOT_EXIST";
456
+ readonly PROVIDER_DOES_NOT_EXIST: "PROVIDER_DOES_NOT_EXIST";
457
+ /**
458
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
459
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
460
+ */
461
+ readonly METASTORE_ALREADY_EXISTS: "METASTORE_ALREADY_EXISTS";
462
+ /**
463
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
464
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
465
+ */
466
+ readonly DAC_ALREADY_EXISTS: "DAC_ALREADY_EXISTS";
467
+ /**
468
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
469
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
470
+ */
471
+ readonly CATALOG_ALREADY_EXISTS: "CATALOG_ALREADY_EXISTS";
472
+ /**
473
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
474
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
475
+ */
476
+ readonly SCHEMA_ALREADY_EXISTS: "SCHEMA_ALREADY_EXISTS";
477
+ /**
478
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
479
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
480
+ */
481
+ readonly TABLE_ALREADY_EXISTS: "TABLE_ALREADY_EXISTS";
482
+ /**
483
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
484
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
485
+ */
486
+ readonly SHARE_ALREADY_EXISTS: "SHARE_ALREADY_EXISTS";
487
+ /**
488
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
489
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
490
+ */
491
+ readonly RECIPIENT_ALREADY_EXISTS: "RECIPIENT_ALREADY_EXISTS";
492
+ /**
493
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
494
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
495
+ */
496
+ readonly STORAGE_CREDENTIAL_ALREADY_EXISTS: "STORAGE_CREDENTIAL_ALREADY_EXISTS";
497
+ /**
498
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
499
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
500
+ */
501
+ readonly EXTERNAL_LOCATION_ALREADY_EXISTS: "EXTERNAL_LOCATION_ALREADY_EXISTS";
502
+ /**
503
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
504
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
505
+ */
506
+ readonly PROVIDER_ALREADY_EXISTS: "PROVIDER_ALREADY_EXISTS";
507
+ /**
508
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
509
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
510
+ */
511
+ readonly CATALOG_NOT_EMPTY: "CATALOG_NOT_EMPTY";
512
+ /**
513
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
514
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
515
+ */
516
+ readonly SCHEMA_NOT_EMPTY: "SCHEMA_NOT_EMPTY";
517
+ /**
518
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
519
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
520
+ */
521
+ readonly METASTORE_NOT_EMPTY: "METASTORE_NOT_EMPTY";
522
+ /**
523
+ * NOTE: Deprecated and kept to maintain backwards compatibility for public APIs that use it,
524
+ * avoid using it in the new APIs, refer error codes listed in the http://go/error-codes.
525
+ */
526
+ readonly PROVIDER_SHARE_NOT_ACCESSIBLE: "PROVIDER_SHARE_NOT_ACCESSIBLE";
527
+ };
528
+ type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode] | (string & {});
529
+ declare const EvaluationStatusType: {
530
+ readonly EVALUATION_STATUS_TYPE_UNSPECIFIED: "EVALUATION_STATUS_TYPE_UNSPECIFIED";
531
+ readonly RUNNING: "RUNNING";
532
+ readonly DONE: "DONE";
533
+ readonly NOT_STARTED: "NOT_STARTED";
534
+ readonly EVALUATION_FAILED: "EVALUATION_FAILED";
535
+ readonly EVALUATION_CANCELLED: "EVALUATION_CANCELLED";
536
+ readonly EVALUATION_TIMEOUT: "EVALUATION_TIMEOUT";
537
+ };
538
+ type EvaluationStatusType = (typeof EvaluationStatusType)[keyof typeof EvaluationStatusType] | (string & {});
539
+ declare const Format: {
540
+ readonly FORMAT_UNSPECIFIED: "FORMAT_UNSPECIFIED";
541
+ readonly JSON_ARRAY: "JSON_ARRAY";
542
+ readonly ARROW_STREAM: "ARROW_STREAM";
543
+ readonly CSV: "CSV";
544
+ };
545
+ type Format = (typeof Format)[keyof typeof Format] | (string & {});
546
+ /**
547
+ * The type of a Genie conversation. Distinguishes an agent-mode conversation from
548
+ * a classic chat conversation so callers can route message retrieval accordingly
549
+ * without a per-conversation lookup.
550
+ */
551
+ declare const GenieConversationType: {
552
+ /** Default value, returned when the conversation type is unset or not recognized. */readonly GENIE_CONVERSATION_TYPE_UNSPECIFIED: "GENIE_CONVERSATION_TYPE_UNSPECIFIED"; /** A classic Genie chat conversation. */
553
+ readonly GENIE_CONVERSATION_TYPE_CHAT: "GENIE_CONVERSATION_TYPE_CHAT"; /** An agent-mode conversation. */
554
+ readonly GENIE_CONVERSATION_TYPE_AGENT: "GENIE_CONVERSATION_TYPE_AGENT";
555
+ };
556
+ type GenieConversationType = (typeof GenieConversationType)[keyof typeof GenieConversationType] | (string & {});
557
+ declare const GenieEvalAssessment: {
558
+ readonly GENIE_EVAL_ASSESSMENT_UNSPECIFIED: "GENIE_EVAL_ASSESSMENT_UNSPECIFIED";
559
+ readonly GOOD: "GOOD";
560
+ readonly BAD: "BAD";
561
+ readonly NEEDS_REVIEW: "NEEDS_REVIEW";
562
+ };
563
+ type GenieEvalAssessment = (typeof GenieEvalAssessment)[keyof typeof GenieEvalAssessment] | (string & {});
564
+ declare const GenieEvalResponseType: {
565
+ readonly GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED: "GENIE_EVAL_RESPONSE_TYPE_UNSPECIFIED";
566
+ readonly TEXT: "TEXT";
567
+ readonly SQL: "SQL";
568
+ };
569
+ type GenieEvalResponseType = (typeof GenieEvalResponseType)[keyof typeof GenieEvalResponseType] | (string & {});
570
+ /** Feedback rating for Genie messages */
571
+ declare const GenieFeedbackRating: {
572
+ readonly GENIE_FEEDBACK_RATING_UNSPECIFIED: "GENIE_FEEDBACK_RATING_UNSPECIFIED";
573
+ readonly POSITIVE: "POSITIVE";
574
+ readonly NEGATIVE: "NEGATIVE";
575
+ readonly NONE: "NONE";
576
+ };
577
+ type GenieFeedbackRating = (typeof GenieFeedbackRating)[keyof typeof GenieFeedbackRating] | (string & {});
578
+ /**
579
+ * copied from proto3 / Google Well Known Types, source:
580
+ * https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
581
+ * `NullValue` is a singleton enumeration to represent the null value for the
582
+ * `Value` type union.
583
+ *
584
+ * The JSON representation for `NullValue` is JSON `null`.
585
+ */
586
+ declare const NullValue: {
587
+ /** Null value. */readonly NULL_VALUE: "NULL_VALUE";
588
+ };
589
+ type NullValue = (typeof NullValue)[keyof typeof NullValue] | (string & {});
590
+ declare const ScoreReason: {
591
+ readonly SCORE_REASON_UNSPECIFIED: "SCORE_REASON_UNSPECIFIED";
592
+ readonly EMPTY_RESULT: "EMPTY_RESULT";
593
+ readonly RESULT_MISSING_ROWS: "RESULT_MISSING_ROWS";
594
+ readonly RESULT_EXTRA_ROWS: "RESULT_EXTRA_ROWS";
595
+ readonly RESULT_MISSING_COLUMNS: "RESULT_MISSING_COLUMNS";
596
+ readonly RESULT_EXTRA_COLUMNS: "RESULT_EXTRA_COLUMNS";
597
+ readonly SINGLE_CELL_DIFFERENCE: "SINGLE_CELL_DIFFERENCE";
598
+ readonly EMPTY_GOOD_SQL: "EMPTY_GOOD_SQL";
599
+ readonly COLUMN_TYPE_DIFFERENCE: "COLUMN_TYPE_DIFFERENCE"; /** Deprecated LLM Judge error categories - kept for backward compatibility */
600
+ readonly LLM_JUDGE_MISSING_JOIN: "LLM_JUDGE_MISSING_JOIN";
601
+ readonly LLM_JUDGE_WRONG_FILTER: "LLM_JUDGE_WRONG_FILTER";
602
+ readonly LLM_JUDGE_WRONG_AGGREGATION: "LLM_JUDGE_WRONG_AGGREGATION";
603
+ readonly LLM_JUDGE_WRONG_COLUMNS: "LLM_JUDGE_WRONG_COLUMNS";
604
+ readonly LLM_JUDGE_SYNTAX_ERROR: "LLM_JUDGE_SYNTAX_ERROR";
605
+ readonly LLM_JUDGE_SEMANTIC_ERROR: "LLM_JUDGE_SEMANTIC_ERROR"; /** New LLM Judge error categories - aligned with LlmJudgeFunctionSpec */
606
+ readonly LLM_JUDGE_OTHER: "LLM_JUDGE_OTHER";
607
+ readonly LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: "LLM_JUDGE_MISSING_OR_INCORRECT_FILTER";
608
+ readonly LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: "LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT";
609
+ readonly LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: "LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST";
610
+ readonly LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: "LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC";
611
+ readonly LLM_JUDGE_INCORRECT_METRIC_CALCULATION: "LLM_JUDGE_INCORRECT_METRIC_CALCULATION";
612
+ readonly LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: "LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE";
613
+ readonly LLM_JUDGE_INCORRECT_FUNCTION_USAGE: "LLM_JUDGE_INCORRECT_FUNCTION_USAGE";
614
+ readonly LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: "LLM_JUDGE_MISSING_OR_INCORRECT_JOIN";
615
+ readonly LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: "LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION";
616
+ readonly LLM_JUDGE_FORMATTING_ERROR: "LLM_JUDGE_FORMATTING_ERROR";
617
+ };
618
+ type ScoreReason = (typeof ScoreReason)[keyof typeof ScoreReason] | (string & {});
619
+ /** Purpose/intent of a text attachment */
620
+ declare const TextAttachmentPurpose: {
621
+ /** Default value. Returned when the text attachment purpose is not set. */readonly TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED: "TEXT_ATTACHMENT_PURPOSE_UNSPECIFIED"; /** A clarifying question Genie asks back to the user, not the answer. */
622
+ readonly FOLLOW_UP_QUESTION: "FOLLOW_UP_QUESTION";
623
+ /**
624
+ * The final answer / summary for the message. Consumers reading the Get
625
+ * Message API can use this to identify which text attachment holds the answer.
626
+ */
627
+ readonly TEXT_ATTACHMENT_PURPOSE_ANSWER: "TEXT_ATTACHMENT_PURPOSE_ANSWER";
628
+ };
629
+ type TextAttachmentPurpose = (typeof TextAttachmentPurpose)[keyof typeof TextAttachmentPurpose] | (string & {});
630
+ /**
631
+ * ThoughtType.
632
+ * The possible values are:
633
+ * * `THOUGHT_TYPE_UNSPECIFIED`: Default value that should not be used.
634
+ * * `THOUGHT_TYPE_DESCRIPTION`: A high-level description of how the question was interpreted.
635
+ * * `THOUGHT_TYPE_UNDERSTANDING`: How ambiguous parts of the question were resolved.
636
+ * * `THOUGHT_TYPE_DATA_SOURCING`: Which tables or datasets were identified as relevant.
637
+ * * `THOUGHT_TYPE_INSTRUCTIONS`: Which author-defined instructions were referenced.
638
+ * * `THOUGHT_TYPE_STEPS`: The logical steps taken to compute the answer.
639
+ * The category of a Thought.
640
+ * Additional values may be added in the future.
641
+ */
642
+ declare const ThoughtType: {
643
+ readonly THOUGHT_TYPE_UNSPECIFIED: "THOUGHT_TYPE_UNSPECIFIED"; /** A high-level description of how the question was interpreted. */
644
+ readonly THOUGHT_TYPE_DESCRIPTION: "THOUGHT_TYPE_DESCRIPTION"; /** How ambiguous parts of the question were resolved. */
645
+ readonly THOUGHT_TYPE_UNDERSTANDING: "THOUGHT_TYPE_UNDERSTANDING"; /** Which tables or datasets were identified as relevant. */
646
+ readonly THOUGHT_TYPE_DATA_SOURCING: "THOUGHT_TYPE_DATA_SOURCING"; /** Which author-defined instructions were referenced. */
647
+ readonly THOUGHT_TYPE_INSTRUCTIONS: "THOUGHT_TYPE_INSTRUCTIONS"; /** The logical steps taken to compute the answer. */
648
+ readonly THOUGHT_TYPE_STEPS: "THOUGHT_TYPE_STEPS";
649
+ };
650
+ type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType] | (string & {});
651
+ declare const MessageError_Type: {
652
+ readonly TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
653
+ readonly UNEXPECTED_REPLY_PROCESS_EXCEPTION: "UNEXPECTED_REPLY_PROCESS_EXCEPTION";
654
+ readonly GENERIC_CHAT_COMPLETION_EXCEPTION: "GENERIC_CHAT_COMPLETION_EXCEPTION"; /** TokenCounter estimates were off and OpenAi responds with an error due to the token limit. */
655
+ readonly CONTEXT_EXCEEDED_EXCEPTION: "CONTEXT_EXCEEDED_EXCEPTION";
656
+ readonly DEPLOYMENT_NOT_FOUND_EXCEPTION: "DEPLOYMENT_NOT_FOUND_EXCEPTION";
657
+ readonly FUNCTIONS_NOT_AVAILABLE_EXCEPTION: "FUNCTIONS_NOT_AVAILABLE_EXCEPTION";
658
+ readonly INVALID_COMPLETION_REQUEST_EXCEPTION: "INVALID_COMPLETION_REQUEST_EXCEPTION";
659
+ readonly CONTENT_FILTER_EXCEPTION: "CONTENT_FILTER_EXCEPTION";
660
+ readonly FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_JSON_EXCEPTION";
661
+ readonly RETRYABLE_PROCESSING_EXCEPTION: "RETRYABLE_PROCESSING_EXCEPTION";
662
+ readonly INVALID_FUNCTION_CALL_EXCEPTION: "INVALID_FUNCTION_CALL_EXCEPTION"; /** Request can not fit into model or the configured limits and TokenCounter registers token limit exceeded. */
663
+ readonly LOCAL_CONTEXT_EXCEEDED_EXCEPTION: "LOCAL_CONTEXT_EXCEEDED_EXCEPTION";
664
+ readonly CHAT_COMPLETION_NETWORK_EXCEPTION: "CHAT_COMPLETION_NETWORK_EXCEPTION";
665
+ readonly INVALID_CHAT_COMPLETION_JSON_EXCEPTION: "INVALID_CHAT_COMPLETION_JSON_EXCEPTION";
666
+ readonly GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION: "GENERIC_CHAT_COMPLETION_SERVICE_EXCEPTION";
667
+ readonly WAREHOUSE_ACCESS_MISSING_EXCEPTION: "WAREHOUSE_ACCESS_MISSING_EXCEPTION";
668
+ readonly WAREHOUSE_NOT_FOUND_EXCEPTION: "WAREHOUSE_NOT_FOUND_EXCEPTION";
669
+ readonly NO_TABLES_TO_QUERY_EXCEPTION: "NO_TABLES_TO_QUERY_EXCEPTION";
670
+ readonly SQL_EXECUTION_EXCEPTION: "SQL_EXECUTION_EXCEPTION";
671
+ readonly REPLY_PROCESS_TIMEOUT_EXCEPTION: "REPLY_PROCESS_TIMEOUT_EXCEPTION";
672
+ readonly COULD_NOT_GET_UC_SCHEMA_EXCEPTION: "COULD_NOT_GET_UC_SCHEMA_EXCEPTION";
673
+ readonly INVALID_TABLE_IDENTIFIER_EXCEPTION: "INVALID_TABLE_IDENTIFIER_EXCEPTION";
674
+ readonly TOO_MANY_TABLES_EXCEPTION: "TOO_MANY_TABLES_EXCEPTION";
675
+ readonly FUNCTION_ARGUMENTS_INVALID_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_EXCEPTION";
676
+ readonly GENERIC_SQL_EXEC_API_CALL_EXCEPTION: "GENERIC_SQL_EXEC_API_CALL_EXCEPTION";
677
+ readonly CHAT_COMPLETION_CLIENT_EXCEPTION: "CHAT_COMPLETION_CLIENT_EXCEPTION";
678
+ readonly CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION: "CHAT_COMPLETION_CLIENT_TIMEOUT_EXCEPTION";
679
+ readonly UNKNOWN_AI_MODEL: "UNKNOWN_AI_MODEL";
680
+ readonly TABLES_MISSING_EXCEPTION: "TABLES_MISSING_EXCEPTION";
681
+ readonly MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_DELETED_WHILE_EXECUTING_EXCEPTION";
682
+ readonly MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_UPDATED_WHILE_EXECUTING_EXCEPTION";
683
+ readonly BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION: "BLOCK_MULTIPLE_EXECUTIONS_EXCEPTION";
684
+ readonly INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION: "INVALID_CERTIFIED_ANSWER_IDENTIFIER_EXCEPTION";
685
+ readonly TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION: "TOO_MANY_CERTIFIED_ANSWERS_EXCEPTION";
686
+ readonly RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION: "RATE_LIMIT_EXCEEDED_GENERIC_EXCEPTION";
687
+ readonly RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION: "RATE_LIMIT_EXCEEDED_SPECIFIED_WAIT_EXCEPTION";
688
+ readonly FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION: "FUNCTION_CALL_MISSING_PARAMETER_EXCEPTION";
689
+ readonly INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION: "INVALID_CERTIFIED_ANSWER_FUNCTION_EXCEPTION";
690
+ readonly ILLEGAL_PARAMETER_DEFINITION_EXCEPTION: "ILLEGAL_PARAMETER_DEFINITION_EXCEPTION";
691
+ readonly NO_QUERY_TO_VISUALIZE_EXCEPTION: "NO_QUERY_TO_VISUALIZE_EXCEPTION";
692
+ readonly NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE: "NO_DEPLOYMENTS_AVAILABLE_TO_WORKSPACE";
693
+ readonly STOP_PROCESS_DUE_TO_AUTO_REGENERATE: "STOP_PROCESS_DUE_TO_AUTO_REGENERATE";
694
+ readonly FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION: "FUNCTION_ARGUMENTS_INVALID_TYPE_EXCEPTION";
695
+ readonly MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION: "MESSAGE_CANCELLED_WHILE_EXECUTING_EXCEPTION";
696
+ readonly COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION: "COULD_NOT_GET_MODEL_DEPLOYMENTS_EXCEPTION";
697
+ readonly GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION: "GENERATED_SQL_QUERY_TOO_LONG_EXCEPTION";
698
+ readonly MISSING_SQL_QUERY_EXCEPTION: "MISSING_SQL_QUERY_EXCEPTION";
699
+ readonly DESCRIBE_QUERY_UNEXPECTED_FAILURE: "DESCRIBE_QUERY_UNEXPECTED_FAILURE";
700
+ readonly DESCRIBE_QUERY_TIMEOUT: "DESCRIBE_QUERY_TIMEOUT";
701
+ readonly DESCRIBE_QUERY_INVALID_SQL_ERROR: "DESCRIBE_QUERY_INVALID_SQL_ERROR";
702
+ readonly INVALID_SQL_UNKNOWN_TABLE_EXCEPTION: "INVALID_SQL_UNKNOWN_TABLE_EXCEPTION";
703
+ readonly INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION: "INVALID_SQL_MULTIPLE_STATEMENTS_EXCEPTION";
704
+ readonly INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION: "INVALID_SQL_MULTIPLE_DATASET_REFERENCES_EXCEPTION";
705
+ readonly MESSAGE_ATTACHMENT_TOO_LONG_ERROR: "MESSAGE_ATTACHMENT_TOO_LONG_ERROR";
706
+ readonly INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION: "INTERNAL_CATALOG_PATH_OVERLAP_EXCEPTION";
707
+ readonly INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION: "INTERNAL_CATALOG_MISSING_UC_PATH_EXCEPTION";
708
+ readonly EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION: "EXCEEDED_MAX_TOKEN_LENGTH_EXCEPTION";
709
+ readonly INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_ONGOING_EXCEPTION";
710
+ readonly INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_FAILED_EXCEPTION";
711
+ readonly INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION: "INTERNAL_CATALOG_ASSET_CREATION_UNSUPPORTED_EXCEPTION";
712
+ readonly UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION: "UNSUPPORTED_CONVERSATION_TYPE_EXCEPTION";
713
+ readonly COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION: "COULD_NOT_GET_DASHBOARD_SCHEMA_EXCEPTION";
714
+ };
715
+ type MessageError_Type = (typeof MessageError_Type)[keyof typeof MessageError_Type] | (string & {});
716
+ /**
717
+ * MessageStatus.
718
+ * The possible values are:
719
+ * * `FETCHING_METADATA`: Fetching metadata from the data sources.
720
+ * * `FILTERING_CONTEXT`: Running smart context step to determine relevant context.
721
+ * * `ASKING_AI`: Waiting for the LLM to respond to the user's question.
722
+ * * `PENDING_WAREHOUSE`: Waiting for warehouse before the SQL query can start executing.
723
+ * * `EXECUTING_QUERY`: Executing a generated SQL query. Get the SQL query result by calling [getMessageAttachmentQueryResult](:method:genie/getMessageAttachmentQueryResult) API.
724
+ * * `FAILED`: The response generation or query execution failed. See `error` field.
725
+ * * `COMPLETED`: Message processing is completed. Results are in the `attachments` field. Get the SQL query result by calling [getMessageAttachmentQueryResult](:method:genie/getMessageAttachmentQueryResult) API.
726
+ * * `SUBMITTED`: Message has been submitted.
727
+ * * `QUERY_RESULT_EXPIRED`: SQL result is not available anymore. The user needs to rerun the query. Rerun the SQL query result by calling [executeMessageAttachmentQuery](:method:genie/executeMessageAttachmentQuery) API.
728
+ * * `CANCELLED`: Message has been cancelled.
729
+ */
730
+ declare const MessageStatus_MessageStatus: {
731
+ readonly FETCHING_METADATA: "FETCHING_METADATA";
732
+ readonly FILTERING_CONTEXT: "FILTERING_CONTEXT";
733
+ readonly ASKING_AI: "ASKING_AI";
734
+ readonly PENDING_WAREHOUSE: "PENDING_WAREHOUSE";
735
+ readonly EXECUTING_QUERY: "EXECUTING_QUERY";
736
+ readonly FAILED: "FAILED";
737
+ readonly COMPLETED: "COMPLETED";
738
+ readonly SUBMITTED: "SUBMITTED";
739
+ readonly QUERY_RESULT_EXPIRED: "QUERY_RESULT_EXPIRED";
740
+ readonly CANCELLED: "CANCELLED";
741
+ };
742
+ type MessageStatus_MessageStatus = (typeof MessageStatus_MessageStatus)[keyof typeof MessageStatus_MessageStatus] | (string & {});
743
+ declare const StatementStatus_State: {
744
+ readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
745
+ readonly PENDING: "PENDING";
746
+ readonly RUNNING: "RUNNING";
747
+ readonly SUCCEEDED: "SUCCEEDED";
748
+ readonly FAILED: "FAILED";
749
+ readonly CANCELED: "CANCELED";
750
+ readonly CLOSED: "CLOSED";
751
+ };
752
+ type StatementStatus_State = (typeof StatementStatus_State)[keyof typeof StatementStatus_State] | (string & {});
753
+ interface ChunkInfo {
754
+ /** The position within the sequence of result set chunks. */
755
+ chunkIndex?: number | undefined;
756
+ /** The starting row offset within the result set. */
757
+ rowOffset?: bigint | undefined;
758
+ /** The number of rows within the result chunk. */
759
+ rowCount?: bigint | undefined;
760
+ /**
761
+ * The number of bytes in the result chunk. This field is not available when using `INLINE`
762
+ * disposition.
763
+ */
764
+ byteCount?: bigint | undefined;
765
+ /**
766
+ * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
767
+ * more chunks. The next chunk can be fetched with a
768
+ * :method:statementexecution/getstatementresultchunkn request.
769
+ */
770
+ nextChunkIndex?: number | undefined;
771
+ /**
772
+ * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
773
+ * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
774
+ * treated as an opaque link. This is an alternative to using `next_chunk_index`.
775
+ */
776
+ nextChunkInternalLink?: string | undefined;
777
+ }
778
+ interface ColumnInfo {
779
+ /** Name of Column. */
780
+ name?: string | undefined;
781
+ /** Full data type specification as SQL/catalogString text. */
782
+ typeText?: string | undefined;
783
+ typeName?: ColumnTypeName | undefined;
784
+ /** Ordinal position of column (starting at position 0). */
785
+ position?: number | undefined;
786
+ /** Digits of precision; required for DecimalTypes. */
787
+ typePrecision?: number | undefined;
788
+ /** Digits to right of decimal; Required for DecimalTypes. */
789
+ typeScale?: number | undefined;
790
+ /** Format of IntervalType. */
791
+ typeIntervalType?: string | undefined;
792
+ /** Full data type specification, JSON-serialized. */
793
+ typeJson?: string | undefined;
794
+ /** User-provided free-form text description. */
795
+ comment?: string | undefined;
796
+ /** Whether field may be Null (default: true). */
797
+ nullable?: boolean | undefined;
798
+ /** Partition index for column. */
799
+ partitionIndex?: number | undefined;
800
+ mask?: ColumnMask | undefined;
801
+ }
802
+ interface ColumnMask {
803
+ /** The full name of the column mask SQL UDF. */
804
+ functionName?: string | undefined;
805
+ /**
806
+ * The list of additional table columns to be passed as input to the column mask function. The
807
+ * first arg of the mask function should be of the type of the column being masked and the
808
+ * types of the rest of the args should match the types of columns in 'using_column_names'.
809
+ */
810
+ usingColumnNames?: string[] | undefined;
811
+ /**
812
+ * The list of table columns or literals to be passed as additional arguments to a column mask
813
+ * function, carrying the type (column reference vs constant literal) of each argument.
814
+ * Deprecated: use using_column_names instead.
815
+ */
816
+ usingArguments?: PolicyFunctionArgument[] | undefined;
817
+ }
818
+ /**
819
+ * Serialization format for DatabricksServiceException.
820
+ * Note the definition of this message should be in sync with DatabricksServiceExceptionWithDetailsProto
821
+ * defined in /api-base/proto/exception_with_details.proto except the later one has an extra error
822
+ * details field defined.
823
+ */
824
+ interface DatabricksServiceExceptionProto {
825
+ errorCode?: ErrorCode | undefined;
826
+ message?: string | undefined;
827
+ stackTrace?: string | undefined;
828
+ }
829
+ interface DownloadMessageAttachmentVisualizationRequest {
830
+ /**
831
+ * The resource name of the attachment to render, in the format
832
+ * `spaces/{space_id}/conversations/{conversation_id}/messages/{message_id}/attachments/{attachment_id}`.
833
+ */
834
+ name?: string | undefined;
835
+ }
836
+ interface DownloadMessageAttachmentVisualizationResponse {
837
+ /**
838
+ * The rendered visualization as a PNG image. Returned as the raw HTTP
839
+ * response body rather than a JSON field.
840
+ */
841
+ contents?: ReadableStream | undefined;
842
+ }
843
+ interface ExternalLink {
844
+ /**
845
+ * A short-lived cloud-storage URL pointing to a chunk of result data, hosted by an external service, with a short
846
+ * expiration time (<= 15 minutes). As this URL contains a temporary credential, it should be considered sensitive
847
+ * and the client should not expose this URL in a log.
848
+ */
849
+ externalLink?: string | undefined;
850
+ /**
851
+ * Indicates the date-time that the given external link will expire and
852
+ * becomes invalid, after which point a new `external_link` must be requested.
853
+ */
854
+ expiration?: string | undefined;
855
+ /**
856
+ * HTTP headers that must be included with a GET request to the `external_link`.
857
+ * Each header is provided as a key-value pair.
858
+ * Headers are typically used to pass a decryption key to the external service.
859
+ * The values of these headers should be considered sensitive and the client should not expose
860
+ * these values in a log.
861
+ */
862
+ httpHeaders?: Record<string, string> | undefined;
863
+ /** The position within the sequence of result set chunks. */
864
+ chunkIndex?: number | undefined;
865
+ /** The starting row offset within the result set. */
866
+ rowOffset?: bigint | undefined;
867
+ /** The number of rows within the result chunk. */
868
+ rowCount?: bigint | undefined;
869
+ /**
870
+ * The number of bytes in the result chunk. This field is not available when using `INLINE`
871
+ * disposition.
872
+ */
873
+ byteCount?: bigint | undefined;
874
+ /**
875
+ * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
876
+ * more chunks. The next chunk can be fetched with a
877
+ * :method:statementexecution/getstatementresultchunkn request.
878
+ */
879
+ nextChunkIndex?: number | undefined;
880
+ /**
881
+ * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
882
+ * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
883
+ * treated as an opaque link. This is an alternative to using `next_chunk_index`.
884
+ */
885
+ nextChunkInternalLink?: string | undefined;
886
+ }
887
+ /** Genie AI Response */
888
+ interface GenieAttachment {
889
+ attachment?: {
890
+ $case: 'text';
891
+ /**
892
+ * Text Attachment if Genie responds with text
893
+ * This also contains the final summary when available.
894
+ */
895
+ text: TextAttachment;
896
+ } | {
897
+ $case: 'query'; /** Query Attachment if Genie responds with a SQL query */
898
+ query: GenieQueryAttachment;
899
+ } | {
900
+ $case: 'suggestedQuestions'; /** Follow-up questions suggested by Genie */
901
+ suggestedQuestions: GenieSuggestedQuestionsAttachment;
902
+ } | {
903
+ $case: 'viz'; /** Visualization generated by Genie, if requested via `enable_visualization` */
904
+ viz: GenieVizAttachment;
905
+ } | undefined;
906
+ /** Attachment ID */
907
+ attachmentId?: string | undefined;
908
+ }
909
+ /** Request to cancel an in-flight agent-mode response. */
910
+ interface GenieCancelResponseRequest {
911
+ /** The ID of the Genie agent (synonymous with the Genie space ID). */
912
+ agentId?: string | undefined;
913
+ /** The ID of the conversation containing the response. */
914
+ conversationId?: string | undefined;
915
+ /** The ID of the response to cancel (the id from the `response.created` event). */
916
+ responseId?: string | undefined;
917
+ }
918
+ /**
919
+ * A Genie conversation. Use chat-mode message endpoints for classic chats and agent-mode
920
+ * response and item endpoints for agent conversations. Conversation management, feedback,
921
+ * comments, and attachment operations support both modes.
922
+ */
923
+ interface GenieConversation {
924
+ /**
925
+ * Conversation ID.
926
+ * Legacy identifier, use conversation_id instead
927
+ */
928
+ id?: string | undefined;
929
+ /** Genie space ID */
930
+ spaceId?: string | undefined;
931
+ /** ID of the user who created the conversation */
932
+ userId?: bigint | undefined;
933
+ /** Timestamp when the message was created */
934
+ createdTimestamp?: bigint | undefined;
935
+ /** Timestamp when the message was last updated */
936
+ lastUpdatedTimestamp?: bigint | undefined;
937
+ /** Conversation title */
938
+ title?: string | undefined;
939
+ /** Conversation ID */
940
+ conversationId?: string | undefined;
941
+ }
942
+ interface GenieConversationSummary {
943
+ conversationId?: string | undefined;
944
+ title?: string | undefined;
945
+ createdTimestamp?: bigint | undefined;
946
+ /**
947
+ * Whether this is a classic chat or an agent-mode conversation. Allows callers to
948
+ * route message retrieval (chat vs. agent endpoint) without an extra lookup.
949
+ */
950
+ agentType?: GenieConversationType | undefined;
951
+ }
952
+ interface GenieCreateConversationMessageRequest {
953
+ /** The ID associated with the Genie space where the conversation is started. */
954
+ spaceId?: string | undefined;
955
+ /** The ID associated with the conversation. */
956
+ conversationId?: string | undefined;
957
+ /** User message content. */
958
+ content?: string | undefined;
959
+ /** Enable visualization generation. */
960
+ enableVisualization?: boolean | undefined;
961
+ }
962
+ interface GenieCreateEvalRunRequest {
963
+ /** The ID associated with the Genie space where the evaluations will be executed. */
964
+ spaceId?: string | undefined;
965
+ /** List of benchmark question IDs to evaluate. These questions must exist in the specified Genie space. If none are specified, then all benchmark questions are evaluated. */
966
+ benchmarkQuestionIds?: string[] | undefined;
967
+ }
968
+ interface GenieCreateMessageCommentRequest {
969
+ /** The ID associated with the Genie space. */
970
+ spaceId?: string | undefined;
971
+ /** The ID associated with the conversation. */
972
+ conversationId?: string | undefined;
973
+ /** The ID associated with the message. */
974
+ messageId?: string | undefined;
975
+ /** Comment text content. */
976
+ content?: string | undefined;
977
+ }
978
+ interface GenieCreateSpaceRequest {
979
+ /** Warehouse to associate with the new space */
980
+ warehouseId?: string | undefined;
981
+ /** Parent folder path where the space will be registered */
982
+ parentPath?: string | undefined;
983
+ /**
984
+ * The contents of the Genie Space in serialized string form.
985
+ * Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
986
+ * This field provides the structure of the JSON string that represents the space's layout and components.
987
+ */
988
+ serializedSpace?: string | undefined;
989
+ /** Optional title override */
990
+ title?: string | undefined;
991
+ /** Optional description */
992
+ description?: string | undefined;
993
+ }
994
+ interface GenieDeleteConversationMessageRequest {
995
+ /** The ID associated with the Genie space where the message is located. */
996
+ spaceId?: string | undefined;
997
+ /** The ID associated with the conversation. */
998
+ conversationId?: string | undefined;
999
+ /** The ID associated with the message to delete. */
1000
+ messageId?: string | undefined;
1001
+ }
1002
+ interface GenieDeleteConversationRequest {
1003
+ /** The ID associated with the Genie space where the conversation is located. */
1004
+ spaceId?: string | undefined;
1005
+ /** The ID of the conversation to delete. */
1006
+ conversationId?: string | undefined;
1007
+ }
1008
+ interface GenieEvalResponse {
1009
+ /** The response content (either text or SQL query). */
1010
+ response?: string | undefined;
1011
+ /** SQL Statement Execution response. */
1012
+ sqlExecutionResult?: StatementResponse | undefined;
1013
+ /** Type of response */
1014
+ responseType?: GenieEvalResponseType | undefined;
1015
+ }
1016
+ /**
1017
+ * Shows summary information for an evaluation result.
1018
+ * For detailed information including SQL execution results, actual/expected responses, and assessment scores, use GenieGetEvalResultDetails.
1019
+ */
1020
+ interface GenieEvalResult {
1021
+ /** Unique identifier for this evaluation result. */
1022
+ resultId?: string | undefined;
1023
+ /** The ID of the space the evaluation result belongs to. */
1024
+ spaceId?: string | undefined;
1025
+ /** The ID of the benchmark question that was evaluated. */
1026
+ benchmarkQuestionId?: string | undefined;
1027
+ /** Current status of this evaluation result. */
1028
+ status?: EvaluationStatusType | undefined;
1029
+ /** Stored snapshot of original benchmark question text. */
1030
+ question?: string | undefined;
1031
+ /** Stored snapshot of original benchmark answer text. */
1032
+ benchmarkAnswer?: string | undefined;
1033
+ /** User ID who created evaluation result. */
1034
+ createdByUser?: bigint | undefined;
1035
+ }
1036
+ /** Shows detailed information for an evaluation result. */
1037
+ interface GenieEvalResultDetails {
1038
+ /** The unique identifier for the evaluation result. */
1039
+ resultId?: string | undefined;
1040
+ /** The ID of the space the evaluation result belongs to. */
1041
+ spaceId?: string | undefined;
1042
+ /** The ID of the benchmark question that was evaluated. */
1043
+ benchmarkQuestionId?: string | undefined;
1044
+ /** Current status of the evaluation run. */
1045
+ evalRunStatus?: EvaluationStatusType | undefined;
1046
+ /** Assessment of the evaluation result: good, bad, or needs review */
1047
+ assessment?: GenieEvalAssessment | undefined;
1048
+ /** Whether this evaluation was manually assessed. */
1049
+ manualAssessment?: boolean | undefined;
1050
+ /**
1051
+ * Reasons for the assessment score.
1052
+ *
1053
+ * Assessment reasons describe why a Genie response was scored as BAD.
1054
+ *
1055
+ * Deterministic values (compared against the ground truth result):
1056
+ * - EMPTY_RESULT: Genie's generated SQL results were empty for this benchmark question.
1057
+ * - RESULT_MISSING_ROWS: Genie's generated SQL response is missing rows from the provided ground truth SQL.
1058
+ * - RESULT_EXTRA_ROWS: Genie's generated SQL response has more rows than the provided ground truth SQL.
1059
+ * - RESULT_MISSING_COLUMNS: Genie's generated SQL response is missing columns from the provided ground truth SQL.
1060
+ * - RESULT_EXTRA_COLUMNS: Genie's generated SQL response has more columns than the provided ground truth SQL.
1061
+ * - SINGLE_CELL_DIFFERENCE: Single value result was produced but differs from ground truth result.
1062
+ * - EMPTY_GOOD_SQL: The benchmark SQL returned an empty result.
1063
+ * - COLUMN_TYPE_DIFFERENCE: The values between the results match but the column type is different.
1064
+ *
1065
+ * LLM judge ratings explain the factors driving BAD results:
1066
+ * - LLM_JUDGE_MISSING_OR_INCORRECT_FILTER: Genie's generated SQL is missing a WHERE clause condition or has incorrect filter logic that excludes/includes wrong data.
1067
+ * - LLM_JUDGE_INCOMPLETE_OR_PARTIAL_OUTPUT: Genie's generated SQL returns only some of the requested data or columns, missing parts of what the ground truth SQL returns.
1068
+ * - LLM_JUDGE_MISINTERPRETATION_OF_USER_REQUEST: Genie's generated SQL fundamentally misunderstands what the user is asking for, addressing the wrong question or goal.
1069
+ * - LLM_JUDGE_INSTRUCTION_COMPLIANCE_OR_MISSING_BUSINESS_LOGIC: Genie's generated SQL fails to apply specified instructions or business logic that should be followed.
1070
+ * - LLM_JUDGE_INCORRECT_METRIC_CALCULATION: Genie's generated SQL uses incorrect logic or makes wrong assumptions when calculating metrics.
1071
+ * - LLM_JUDGE_INCORRECT_TABLE_OR_FIELD_USAGE: Genie's generated SQL references wrong tables, columns, or uses fields that don't match the ground truth SQL's intent.
1072
+ * - LLM_JUDGE_INCORRECT_FUNCTION_USAGE: Genie's generated SQL uses SQL functions incorrectly or inappropriately (wrong parameters, wrong function for the task, etc.).
1073
+ * - LLM_JUDGE_MISSING_OR_INCORRECT_JOIN: Genie's generated SQL is missing necessary joins between tables or has incorrect join conditions/types that produce wrong results.
1074
+ * - LLM_JUDGE_MISSING_OR_INCORRECT_AGGREGATION: Genie's generated SQL is missing GROUP BY clauses or has incorrect grouping that doesn't match the requested aggregation level.
1075
+ * - LLM_JUDGE_FORMATTING_ERROR: Genie's generated SQL output has incorrect formatting, ordering (ORDER BY), or presentation issues that don't match expectations.
1076
+ * - LLM_JUDGE_OTHER: LLM judge identified an error that doesn't fall into other categories.
1077
+ *
1078
+ * Deprecated LLM judge values (kept for backward compatibility, do not use):
1079
+ * - LLM_JUDGE_MISSING_JOIN (deprecated)
1080
+ * - LLM_JUDGE_WRONG_FILTER (deprecated)
1081
+ * - LLM_JUDGE_WRONG_AGGREGATION (deprecated)
1082
+ * - LLM_JUDGE_WRONG_COLUMNS (deprecated)
1083
+ * - LLM_JUDGE_SYNTAX_ERROR (deprecated)
1084
+ * - LLM_JUDGE_SEMANTIC_ERROR (deprecated)
1085
+ */
1086
+ assessmentReasons?: ScoreReason[] | undefined;
1087
+ /** The actual response generated by Genie. */
1088
+ actualResponse?: GenieEvalResponse[] | undefined;
1089
+ /** The expected responses from the benchmark. */
1090
+ expectedResponse?: GenieEvalResponse[] | undefined;
1091
+ }
1092
+ /** A benchmark evaluation run. The public benchmark API currently evaluates chat-mode responses. */
1093
+ interface GenieEvalRunResponse {
1094
+ /** The unique identifier for the evaluation run. */
1095
+ evalRunId?: string | undefined;
1096
+ /** Current status of the evaluation run. */
1097
+ evalRunStatus?: EvaluationStatusType | undefined;
1098
+ /** User ID who initiated the evaluation run. */
1099
+ runByUser?: bigint | undefined;
1100
+ /** Timestamp when the evaluation run was created (milliseconds since epoch). */
1101
+ createdTimestamp?: bigint | undefined;
1102
+ /** Total number of questions in the evaluation run. */
1103
+ numQuestions?: bigint | undefined;
1104
+ /** Number of questions answered correctly. */
1105
+ numCorrect?: bigint | undefined;
1106
+ /** Number of questions that need manual review. */
1107
+ numNeedsReview?: bigint | undefined;
1108
+ /** Number of questions that have been completed. */
1109
+ numDone?: bigint | undefined;
1110
+ /** Timestamp when the evaluation run was last updated (milliseconds since epoch). */
1111
+ lastUpdatedTimestamp?: bigint | undefined;
1112
+ }
1113
+ interface GenieExecuteMessageAttachmentQueryRequest {
1114
+ /** Message ID */
1115
+ messageId?: string | undefined;
1116
+ /** Genie space ID */
1117
+ spaceId?: string | undefined;
1118
+ /** Conversation ID */
1119
+ conversationId?: string | undefined;
1120
+ /** Attachment ID */
1121
+ attachmentId?: string | undefined;
1122
+ }
1123
+ interface GenieExecuteMessageQueryRequest {
1124
+ /** Message ID */
1125
+ messageId?: string | undefined;
1126
+ /** Genie space ID */
1127
+ spaceId?: string | undefined;
1128
+ /** Conversation ID */
1129
+ conversationId?: string | undefined;
1130
+ }
1131
+ /** Feedback containing rating and optional comment */
1132
+ interface GenieFeedback {
1133
+ /** The feedback rating */
1134
+ rating?: GenieFeedbackRating | undefined;
1135
+ /** Optional feedback comment text */
1136
+ comment?: string | undefined;
1137
+ }
1138
+ interface GenieGenerateDownloadFullQueryResultRequest {
1139
+ /** Genie space ID */
1140
+ spaceId?: string | undefined;
1141
+ /** Conversation ID */
1142
+ conversationId?: string | undefined;
1143
+ /** Message ID */
1144
+ messageId?: string | undefined;
1145
+ /** Attachment ID */
1146
+ attachmentId?: string | undefined;
1147
+ }
1148
+ interface GenieGenerateDownloadFullQueryResultResponse {
1149
+ /** Download ID. Use this ID to track the download request in subsequent polling calls */
1150
+ downloadId?: string | undefined;
1151
+ /** JWT signature for the download_id to ensure secure access to query results */
1152
+ downloadIdSignature?: string | undefined;
1153
+ }
1154
+ interface GenieGetConversationMessageRequest {
1155
+ /** The ID associated with the Genie space where the target conversation is located. */
1156
+ spaceId?: string | undefined;
1157
+ /** The ID associated with the target conversation. */
1158
+ conversationId?: string | undefined;
1159
+ /** The ID associated with the target message from the identified conversation. */
1160
+ messageId?: string | undefined;
1161
+ }
1162
+ interface GenieGetDownloadFullQueryResultRequest {
1163
+ /** Genie space ID */
1164
+ spaceId?: string | undefined;
1165
+ /** Conversation ID */
1166
+ conversationId?: string | undefined;
1167
+ /** Message ID */
1168
+ messageId?: string | undefined;
1169
+ /** Attachment ID */
1170
+ attachmentId?: string | undefined;
1171
+ /** Download ID. This ID is provided by the [Generate Download endpoint](:method:genie/generateDownloadFullQueryResult) */
1172
+ downloadId?: string | undefined;
1173
+ /** JWT signature for the download_id to ensure secure access to query results */
1174
+ downloadIdSignature?: string | undefined;
1175
+ }
1176
+ interface GenieGetDownloadFullQueryResultResponse {
1177
+ /** SQL Statement Execution response. See [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) for more details. */
1178
+ statementResponse?: StatementResponse | undefined;
1179
+ }
1180
+ interface GenieGetEvalResultDetailsRequest {
1181
+ /** The ID associated with the Genie space where the evaluation run is located. */
1182
+ spaceId?: string | undefined;
1183
+ /** The unique identifier for the evaluation run. */
1184
+ evalRunId?: string | undefined;
1185
+ /** The unique identifier for the evaluation result. */
1186
+ resultId?: string | undefined;
1187
+ }
1188
+ interface GenieGetEvalRunRequest {
1189
+ /** The ID associated with the Genie space where the evaluation run is located. */
1190
+ spaceId?: string | undefined;
1191
+ evalRunId?: string | undefined;
1192
+ }
1193
+ interface GenieGetMessageAttachmentQueryResultRequest {
1194
+ /** Message ID */
1195
+ messageId?: string | undefined;
1196
+ /** Genie space ID */
1197
+ spaceId?: string | undefined;
1198
+ /** Conversation ID */
1199
+ conversationId?: string | undefined;
1200
+ /** Attachment ID */
1201
+ attachmentId?: string | undefined;
1202
+ }
1203
+ interface GenieGetMessageQueryResultRequest {
1204
+ /** Message ID */
1205
+ messageId?: string | undefined;
1206
+ /** Genie space ID */
1207
+ spaceId?: string | undefined;
1208
+ /** Conversation ID */
1209
+ conversationId?: string | undefined;
1210
+ }
1211
+ interface GenieGetMessageQueryResultResponse {
1212
+ /** SQL Statement Execution response. See [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) for more details. */
1213
+ statementResponse?: StatementResponse | undefined;
1214
+ }
1215
+ interface GenieGetQueryResultByAttachmentRequest {
1216
+ /** Message ID */
1217
+ messageId?: string | undefined;
1218
+ /** Genie space ID */
1219
+ spaceId?: string | undefined;
1220
+ /** Conversation ID */
1221
+ conversationId?: string | undefined;
1222
+ /** Attachment ID */
1223
+ attachmentId?: string | undefined;
1224
+ }
1225
+ interface GenieGetSpaceRequest {
1226
+ /** The ID associated with the Genie space */
1227
+ spaceId?: string | undefined;
1228
+ /**
1229
+ * Whether to include the serialized space export in the response.
1230
+ * Requires at least CAN EDIT permission on the space.
1231
+ */
1232
+ includeSerializedSpace?: boolean | undefined;
1233
+ }
1234
+ interface GenieListConversationCommentsRequest {
1235
+ /** The ID associated with the Genie space. */
1236
+ spaceId?: string | undefined;
1237
+ /** The ID associated with the conversation. */
1238
+ conversationId?: string | undefined;
1239
+ /** Maximum number of comments to return per page. */
1240
+ pageSize?: number | undefined;
1241
+ /** Pagination token for getting the next page of results. */
1242
+ pageToken?: string | undefined;
1243
+ }
1244
+ interface GenieListConversationCommentsResponse {
1245
+ /** List of comments in the conversation. */
1246
+ comments?: GenieMessageComment[] | undefined;
1247
+ /** Token to get the next page of results. */
1248
+ nextPageToken?: string | undefined;
1249
+ }
1250
+ interface GenieListConversationMessagesRequest {
1251
+ /** The ID associated with the Genie space where the conversation is located */
1252
+ spaceId?: string | undefined;
1253
+ /** The ID of the conversation to list messages from */
1254
+ conversationId?: string | undefined;
1255
+ /** Maximum number of messages to return per page */
1256
+ pageSize?: number | undefined;
1257
+ /** Token to get the next page of results */
1258
+ pageToken?: string | undefined;
1259
+ }
1260
+ interface GenieListConversationMessagesResponse {
1261
+ /** List of messages in the conversation. */
1262
+ messages?: GenieMessage[] | undefined;
1263
+ /** The token to use for retrieving the next page of results. */
1264
+ nextPageToken?: string | undefined;
1265
+ }
1266
+ interface GenieListConversationsRequest {
1267
+ /** The ID of the Genie space to retrieve conversations from. */
1268
+ spaceId?: string | undefined;
1269
+ /** Maximum number of conversations to return per page */
1270
+ pageSize?: number | undefined;
1271
+ /** Token to get the next page of results */
1272
+ pageToken?: string | undefined;
1273
+ /**
1274
+ * Include all conversations in the space across all users.
1275
+ * Requires at least CAN MANAGE permission on the space.
1276
+ */
1277
+ includeAll?: boolean | undefined;
1278
+ }
1279
+ interface GenieListConversationsResponse {
1280
+ /** List of conversations in the Genie space */
1281
+ conversations?: GenieConversationSummary[] | undefined;
1282
+ /** Token to get the next page of results */
1283
+ nextPageToken?: string | undefined;
1284
+ }
1285
+ interface GenieListEvalResultsRequest {
1286
+ /** The ID associated with the Genie space where the evaluation run is located. */
1287
+ spaceId?: string | undefined;
1288
+ /** The unique identifier for the evaluation run. */
1289
+ evalRunId?: string | undefined;
1290
+ /** Maximum number of eval results to return per page. */
1291
+ pageSize?: number | undefined;
1292
+ /** Opaque token to retrieve the next page of results. */
1293
+ pageToken?: string | undefined;
1294
+ }
1295
+ interface GenieListEvalResultsResponse {
1296
+ /** List of evaluation results for the specified run. */
1297
+ evalResults?: GenieEvalResult[] | undefined;
1298
+ /** The token to use for retrieving the next page of results. */
1299
+ nextPageToken?: string | undefined;
1300
+ }
1301
+ interface GenieListEvalRunsRequest {
1302
+ /** The ID associated with the Genie space where the evaluation run is located. */
1303
+ spaceId?: string | undefined;
1304
+ /** Maximum number of evaluation runs to return per page */
1305
+ pageSize?: number | undefined;
1306
+ /** Token to get the next page of results */
1307
+ pageToken?: string | undefined;
1308
+ }
1309
+ interface GenieListEvalRunsResponse {
1310
+ /** List of evaluation runs for a space on provided page token and page size */
1311
+ evalRuns?: GenieEvalRunResponse[] | undefined;
1312
+ /** The token to use for retrieving the next page of results. */
1313
+ nextPageToken?: string | undefined;
1314
+ }
1315
+ interface GenieListMessageCommentsRequest {
1316
+ /** The ID associated with the Genie space. */
1317
+ spaceId?: string | undefined;
1318
+ /** The ID associated with the conversation. */
1319
+ conversationId?: string | undefined;
1320
+ /** The ID associated with the message. */
1321
+ messageId?: string | undefined;
1322
+ /** Maximum number of comments to return per page. */
1323
+ pageSize?: number | undefined;
1324
+ /** Pagination token for getting the next page of results. */
1325
+ pageToken?: string | undefined;
1326
+ }
1327
+ interface GenieListMessageCommentsResponse {
1328
+ /** List of comments on the message. */
1329
+ comments?: GenieMessageComment[] | undefined;
1330
+ /** Token to get the next page of results. */
1331
+ nextPageToken?: string | undefined;
1332
+ }
1333
+ interface GenieListSpacesRequest {
1334
+ /** Maximum number of spaces to return per page */
1335
+ pageSize?: number | undefined;
1336
+ /** Pagination token for getting the next page of results */
1337
+ pageToken?: string | undefined;
1338
+ }
1339
+ interface GenieListSpacesResponse {
1340
+ /** List of Genie spaces */
1341
+ spaces?: GenieSpace[] | undefined;
1342
+ /** Token to get the next page of results */
1343
+ nextPageToken?: string | undefined;
1344
+ }
1345
+ interface GenieMessage {
1346
+ /**
1347
+ * Message ID.
1348
+ * Legacy identifier, use message_id instead
1349
+ */
1350
+ id?: string | undefined;
1351
+ /** Genie space ID */
1352
+ spaceId?: string | undefined;
1353
+ /** Conversation ID */
1354
+ conversationId?: string | undefined;
1355
+ /** ID of the user who created the message */
1356
+ userId?: bigint | undefined;
1357
+ /** Timestamp when the message was created */
1358
+ createdTimestamp?: bigint | undefined;
1359
+ /** Timestamp when the message was last updated */
1360
+ lastUpdatedTimestamp?: bigint | undefined;
1361
+ status?: MessageStatus_MessageStatus | undefined;
1362
+ /** User message content */
1363
+ content?: string | undefined;
1364
+ /** AI-generated response to the message */
1365
+ attachments?: GenieAttachment[] | undefined;
1366
+ /**
1367
+ * The result of SQL query if the message includes a query attachment.
1368
+ * Deprecated. Use `query_result_metadata` in `GenieQueryAttachment` instead.
1369
+ */
1370
+ queryResult?: Result | undefined;
1371
+ /** Error message if Genie failed to respond to the message */
1372
+ error?: MessageError | undefined;
1373
+ /** Message ID */
1374
+ messageId?: string | undefined;
1375
+ /** User feedback for the message if provided */
1376
+ feedback?: GenieFeedback | undefined;
1377
+ }
1378
+ /** A comment on a Genie conversation message. */
1379
+ interface GenieMessageComment {
1380
+ /** Genie space ID */
1381
+ spaceId?: string | undefined;
1382
+ /** Conversation ID */
1383
+ conversationId?: string | undefined;
1384
+ /** Message ID */
1385
+ messageId?: string | undefined;
1386
+ /** Comment ID */
1387
+ messageCommentId?: string | undefined;
1388
+ /** ID of the user who created the comment */
1389
+ userId?: bigint | undefined;
1390
+ /** Comment text content */
1391
+ content?: string | undefined;
1392
+ /** Timestamp when the comment was created */
1393
+ createdTimestamp?: bigint | undefined;
1394
+ }
1395
+ interface GenieQueryAttachment {
1396
+ /** Name of the query */
1397
+ title?: string | undefined;
1398
+ /** AI generated SQL query */
1399
+ query?: string | undefined;
1400
+ /** Description of the query */
1401
+ description?: string | undefined;
1402
+ /** Time when the user updated the query last */
1403
+ lastUpdatedTimestamp?: bigint | undefined;
1404
+ parameters?: QueryAttachmentParameter[] | undefined;
1405
+ id?: string | undefined;
1406
+ /** Statement Execution API statement id. Use [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) to get the full result data. */
1407
+ statementId?: string | undefined;
1408
+ /** Metadata associated with the query result. */
1409
+ queryResultMetadata?: GenieResultMetadata | undefined;
1410
+ /** Insights into how Genie came to generate the SQL. */
1411
+ thoughts?: Thought[] | undefined;
1412
+ }
1413
+ interface GenieResultMetadata {
1414
+ /** The number of rows in the result set. */
1415
+ rowCount?: bigint | undefined;
1416
+ /** Indicates whether the result set is truncated. */
1417
+ isTruncated?: boolean | undefined;
1418
+ }
1419
+ interface GenieSendMessageFeedbackRequest {
1420
+ /** The ID associated with the Genie space where the message is located. */
1421
+ spaceId?: string | undefined;
1422
+ /** The ID associated with the conversation. */
1423
+ conversationId?: string | undefined;
1424
+ /** The ID associated with the message to provide feedback for. */
1425
+ messageId?: string | undefined;
1426
+ /** The rating (POSITIVE, NEGATIVE, or NONE). */
1427
+ rating?: GenieFeedbackRating | undefined;
1428
+ /** Optional text feedback that will be stored as a comment. */
1429
+ comment?: string | undefined;
1430
+ }
1431
+ interface GenieSpace {
1432
+ /** Genie space ID */
1433
+ spaceId?: string | undefined;
1434
+ /** Title of the Genie Space */
1435
+ title?: string | undefined;
1436
+ /** Description of the Genie Space */
1437
+ description?: string | undefined;
1438
+ /** Warehouse associated with the Genie Space */
1439
+ warehouseId?: string | undefined;
1440
+ /** Parent folder path of the Genie Space */
1441
+ parentPath?: string | undefined;
1442
+ /**
1443
+ * The contents of the Genie Space in serialized string form.
1444
+ * This field is excluded in List Genie spaces responses.
1445
+ * Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
1446
+ * This field provides the structure of the JSON string that represents the space's layout and components.
1447
+ */
1448
+ serializedSpace?: string | undefined;
1449
+ /**
1450
+ * ETag for this space. Pass this value back in the update request to prevent overwriting
1451
+ * concurrent changes.
1452
+ */
1453
+ etag?: string | undefined;
1454
+ /** Time when the Genie space was created. */
1455
+ createTime?: Temporal.Instant | undefined;
1456
+ /** Time when the Genie space was last modified, matching the value shown in the Genie Agent UI. */
1457
+ updateTime?: Temporal.Instant | undefined;
1458
+ }
1459
+ interface GenieStartConversationRequest {
1460
+ /** The ID associated with the Genie space where you want to start a conversation. */
1461
+ spaceId?: string | undefined;
1462
+ /** The text of the message that starts the conversation. */
1463
+ content?: string | undefined;
1464
+ /** Enable visualization generation. */
1465
+ enableVisualization?: boolean | undefined;
1466
+ }
1467
+ interface GenieStartConversationResponse {
1468
+ /** Message ID */
1469
+ messageId?: string | undefined;
1470
+ message?: GenieMessage | undefined;
1471
+ /** Conversation ID */
1472
+ conversationId?: string | undefined;
1473
+ conversation?: GenieConversation | undefined;
1474
+ }
1475
+ /** Follow-up questions suggested by Genie */
1476
+ interface GenieSuggestedQuestionsAttachment {
1477
+ /** The suggested follow-up questions */
1478
+ questions?: string[] | undefined;
1479
+ }
1480
+ interface GenieTrashSpaceRequest {
1481
+ /** The ID associated with the Genie space to be sent to the trash. */
1482
+ spaceId?: string | undefined;
1483
+ }
1484
+ interface GenieUpdateSpaceRequest {
1485
+ /** Genie space ID */
1486
+ spaceId?: string | undefined;
1487
+ /**
1488
+ * The contents of the Genie Space in serialized string form (full replacement).
1489
+ * Use the [Get Genie Space](:method:genie/getspace) API to retrieve an example response, which includes the `serialized_space` field.
1490
+ * This field provides the structure of the JSON string that represents the space's layout and components.
1491
+ */
1492
+ serializedSpace?: string | undefined;
1493
+ /** Optional title override */
1494
+ title?: string | undefined;
1495
+ /** Optional description */
1496
+ description?: string | undefined;
1497
+ /** Optional warehouse override */
1498
+ warehouseId?: string | undefined;
1499
+ /**
1500
+ * ETag returned by a previous GET or UPDATE. When set, the update will fail if the space
1501
+ * has been modified since. Omit to apply the update unconditionally.
1502
+ */
1503
+ etag?: string | undefined;
1504
+ /** Parent workspace folder path to move this Genie space under. */
1505
+ parentPath?: string | undefined;
1506
+ }
1507
+ /**
1508
+ * Visualization generated by Genie for a query result. Use the attachment ID
1509
+ * with the download visualization API to retrieve the rendered image.
1510
+ */
1511
+ interface GenieVizAttachment {
1512
+ /** Name of the visualization */
1513
+ title?: string | undefined;
1514
+ /** The ID of the query attachment the visualization was generated from */
1515
+ queryAttachmentId?: string | undefined;
1516
+ }
1517
+ /**
1518
+ * copied from proto3 / Google Well Known Types, source:
1519
+ * https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
1520
+ * `ListValue` is a wrapper around a repeated field of values.
1521
+ *
1522
+ * The JSON representation for `ListValue` is JSON array.
1523
+ */
1524
+ interface ListValue {
1525
+ /** Repeated field of dynamically typed values. */
1526
+ values?: Value[] | undefined;
1527
+ }
1528
+ /**
1529
+ * <Databricks> proto compiler is too old and does not support map.
1530
+ * This is wire compatible with map<string,string>.
1531
+ * See https://developers.google.com/protocol-buffers/docs/proto#backwards_compatibility.
1532
+ */
1533
+ interface MapStringValueEntry {
1534
+ key?: string | undefined;
1535
+ value?: Value | undefined;
1536
+ }
1537
+ interface MessageError {
1538
+ error?: string | undefined;
1539
+ type?: MessageError_Type | undefined;
1540
+ }
1541
+ interface MessageStatus {}
1542
+ /**
1543
+ * A positional argument passed to a row filter or column mask function.
1544
+ * Distinguishes between column references and literals.
1545
+ */
1546
+ interface PolicyFunctionArgument {
1547
+ arg?: {
1548
+ $case: 'column'; /** A column reference. */
1549
+ column: string;
1550
+ } | {
1551
+ $case: 'constant'; /** A constant literal. */
1552
+ constant: string;
1553
+ } | undefined;
1554
+ }
1555
+ interface QueryAttachmentParameter {
1556
+ keyword?: string | undefined;
1557
+ value?: string | undefined;
1558
+ sqlType?: string | undefined;
1559
+ }
1560
+ interface Result {
1561
+ /** Statement Execution API statement id. Use [Get status, manifest, and result first chunk](:method:statementexecution/getstatement) to get the full result data. */
1562
+ statementId?: string | undefined;
1563
+ /** Row count of the result */
1564
+ rowCount?: bigint | undefined;
1565
+ /** If result is truncated */
1566
+ isTruncated?: boolean | undefined;
1567
+ /** JWT corresponding to the statement contained in this result */
1568
+ statementIdSignature?: string | undefined;
1569
+ }
1570
+ /**
1571
+ * Contains the result data of a single chunk when using `INLINE` disposition. When using
1572
+ * `EXTERNAL_LINKS` disposition, the array `external_links` is used instead to provide
1573
+ * short-lived cloud-storage URLs to the result data
1574
+ * in cloud storage. Exactly one of these alternatives is used. Calls to `getResultData` return
1575
+ * the link for the requested chunk; `executeStatement` and `getStatementResult` responses can
1576
+ * contain links for multiple chunks.
1577
+ */
1578
+ interface ResultData {
1579
+ externalLinks?: ExternalLink[] | undefined;
1580
+ /**
1581
+ * The `JSON_ARRAY` format is an array of arrays of values, where each non-null value is
1582
+ * formatted as a string. Null values are encoded as JSON `null`.
1583
+ */
1584
+ dataArray?: (string | null)[][] | undefined;
1585
+ /** The position within the sequence of result set chunks. */
1586
+ chunkIndex?: number | undefined;
1587
+ /** The starting row offset within the result set. */
1588
+ rowOffset?: bigint | undefined;
1589
+ /** The number of rows within the result chunk. */
1590
+ rowCount?: bigint | undefined;
1591
+ /**
1592
+ * The number of bytes in the result chunk. This field is not available when using `INLINE`
1593
+ * disposition.
1594
+ */
1595
+ byteCount?: bigint | undefined;
1596
+ /**
1597
+ * When fetching, provides the `chunk_index` for the _next_ chunk. If absent, indicates there are no
1598
+ * more chunks. The next chunk can be fetched with a
1599
+ * :method:statementexecution/getstatementresultchunkn request.
1600
+ */
1601
+ nextChunkIndex?: number | undefined;
1602
+ /**
1603
+ * When fetching, provides a link to fetch the _next_ chunk. If absent, indicates there are no more
1604
+ * chunks. This link is an absolute `path` to be joined with your `$DATABRICKS_HOST`, and should be
1605
+ * treated as an opaque link. This is an alternative to using `next_chunk_index`.
1606
+ */
1607
+ nextChunkInternalLink?: string | undefined;
1608
+ }
1609
+ /** The result manifest provides schema and metadata for the result set. */
1610
+ interface ResultManifest {
1611
+ format?: Format | undefined;
1612
+ schema?: Schema | undefined;
1613
+ /** The total number of chunks that the result set has been divided into. */
1614
+ totalChunkCount?: number | undefined;
1615
+ /** Array of result set chunk metadata. */
1616
+ chunks?: ChunkInfo[] | undefined;
1617
+ /** The total number of rows in the result set. */
1618
+ totalRowCount?: bigint | undefined;
1619
+ /**
1620
+ * The total number of bytes in the result set. This field is not available when using `INLINE`
1621
+ * disposition.
1622
+ */
1623
+ totalByteCount?: bigint | undefined;
1624
+ /** Indicates whether the result is truncated due to `row_limit` or `byte_limit`. */
1625
+ truncated?: boolean | undefined;
1626
+ }
1627
+ interface Schema {
1628
+ columnCount?: number | undefined;
1629
+ columns?: ColumnInfo[] | undefined;
1630
+ }
1631
+ interface StatementResponse {
1632
+ /**
1633
+ * The statement ID is returned upon successfully submitting a SQL statement, and is a required
1634
+ * reference for all subsequent calls.
1635
+ */
1636
+ statementId?: string | undefined;
1637
+ status?: StatementStatus | undefined;
1638
+ manifest?: ResultManifest | undefined;
1639
+ result?: ResultData | undefined;
1640
+ }
1641
+ /** The status response includes execution state and if relevant, error information. */
1642
+ interface StatementStatus {
1643
+ /**
1644
+ * Statement execution state:
1645
+ * - `PENDING`: waiting for warehouse
1646
+ * - `RUNNING`: running
1647
+ * - `SUCCEEDED`: execution was successful, result data available for fetch
1648
+ * - `FAILED`: execution failed; reason for failure described in accompanying error message
1649
+ * - `CANCELED`: user canceled; can come from explicit cancel call, or timeout with
1650
+ * `on_wait_timeout=CANCEL`
1651
+ * - `CLOSED`: execution successful, and statement closed; result no longer available for fetch
1652
+ */
1653
+ state?: StatementStatus_State | undefined;
1654
+ error?: DatabricksServiceExceptionProto | undefined;
1655
+ /**
1656
+ * SQLSTATE error code returned when the statement execution fails.
1657
+ * Only populated when the statement status is `FAILED`.
1658
+ */
1659
+ sqlState?: string | undefined;
1660
+ }
1661
+ /**
1662
+ * copied from proto3 / Google Well Known Types, source:
1663
+ * https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
1664
+ * `Struct` represents a structured data value, consisting of fields
1665
+ * which map to dynamically typed values. In some languages, `Struct`
1666
+ * might be supported by a native representation. For example, in
1667
+ * scripting languages like JS a struct is represented as an
1668
+ * object. The details of that representation are described together
1669
+ * with the proto support for the language.
1670
+ *
1671
+ * The JSON representation for `Struct` is JSON object.
1672
+ */
1673
+ interface Struct {
1674
+ /** Unordered map of dynamically typed values. */
1675
+ fields?: MapStringValueEntry[] | undefined;
1676
+ }
1677
+ /**
1678
+ * A text response on a conversation message: the answer, the final summary, or a
1679
+ * clarifying follow-up question, along with optional phase and verification metadata.
1680
+ */
1681
+ interface TextAttachment {
1682
+ /** AI generated message */
1683
+ content?: string | undefined;
1684
+ id?: string | undefined;
1685
+ /**
1686
+ * Purpose of this text attachment. A completed message may contain more than
1687
+ * one text attachment (for example a clarifying follow-up question alongside
1688
+ * the final answer); use this field to tell them apart. `TEXT_ATTACHMENT_PURPOSE_ANSWER`
1689
+ * marks the final answer/summary and `FOLLOW_UP_QUESTION` marks a clarifying question.
1690
+ */
1691
+ purpose?: TextAttachmentPurpose | undefined;
1692
+ }
1693
+ /** A single thought in the AI's reasoning process for a query. */
1694
+ interface Thought {
1695
+ /**
1696
+ * The category of this thought.
1697
+ * The possible values are:
1698
+ * * `THOUGHT_TYPE_DESCRIPTION`: A high-level description of how the question was interpreted.
1699
+ * * `THOUGHT_TYPE_UNDERSTANDING`: How ambiguous parts of the question were resolved.
1700
+ * * `THOUGHT_TYPE_DATA_SOURCING`: Which tables or datasets were identified as relevant.
1701
+ * * `THOUGHT_TYPE_INSTRUCTIONS`: Which author-defined instructions were referenced.
1702
+ * * `THOUGHT_TYPE_STEPS`: The logical steps taken to compute the answer.
1703
+ */
1704
+ thoughtType?: ThoughtType | undefined;
1705
+ /** The md formatted content for this thought. */
1706
+ content?: string | undefined;
1707
+ }
1708
+ /**
1709
+ * copied from proto3 / Google Well Known Types, source:
1710
+ * https://github.com/protocolbuffers/protobuf/blob/450d24ca820750c5db5112a6f0b0c2efb9758021/src/google/protobuf/struct.proto
1711
+ * `Value` represents a dynamically typed value which can be either
1712
+ * null, a number, a string, a boolean, a recursive struct value, or a
1713
+ * list of values. A producer of value is expected to set one of these
1714
+ * variants. Absence of any variant indicates an error.
1715
+ *
1716
+ * The JSON representation for `Value` is JSON value.
1717
+ */
1718
+ interface Value {
1719
+ /** The kind of value. */
1720
+ kind?: {
1721
+ $case: 'nullValue'; /** Represents a null value. */
1722
+ nullValue: NullValue;
1723
+ } | {
1724
+ $case: 'numberValue'; /** Represents a double value. */
1725
+ numberValue: number;
1726
+ } | {
1727
+ $case: 'stringValue'; /** Represents a string value. */
1728
+ stringValue: string;
1729
+ } | {
1730
+ $case: 'boolValue'; /** Represents a boolean value. */
1731
+ boolValue: boolean;
1732
+ } | {
1733
+ $case: 'structValue'; /** Represents a structured value. */
1734
+ structValue: Struct;
1735
+ } | {
1736
+ $case: 'listValue'; /** Represents a repeated `Value`. */
1737
+ listValue: ListValue;
1738
+ } | undefined;
1739
+ }
1740
+ declare const unmarshalChunkInfoSchema: z.ZodType<ChunkInfo>;
1741
+ declare const unmarshalColumnInfoSchema: z.ZodType<ColumnInfo>;
1742
+ declare const unmarshalColumnMaskSchema: z.ZodType<ColumnMask>;
1743
+ declare const unmarshalDatabricksServiceExceptionProtoSchema: z.ZodType<DatabricksServiceExceptionProto>;
1744
+ declare const unmarshalExternalLinkSchema: z.ZodType<ExternalLink>;
1745
+ declare const unmarshalGenieAttachmentSchema: z.ZodType<GenieAttachment>;
1746
+ declare const unmarshalGenieConversationSchema: z.ZodType<GenieConversation>;
1747
+ declare const unmarshalGenieConversationSummarySchema: z.ZodType<GenieConversationSummary>;
1748
+ declare const unmarshalGenieEvalResponseSchema: z.ZodType<GenieEvalResponse>;
1749
+ declare const unmarshalGenieEvalResultSchema: z.ZodType<GenieEvalResult>;
1750
+ declare const unmarshalGenieEvalResultDetailsSchema: z.ZodType<GenieEvalResultDetails>;
1751
+ declare const unmarshalGenieEvalRunResponseSchema: z.ZodType<GenieEvalRunResponse>;
1752
+ declare const unmarshalGenieFeedbackSchema: z.ZodType<GenieFeedback>;
1753
+ declare const unmarshalGenieGenerateDownloadFullQueryResultResponseSchema: z.ZodType<GenieGenerateDownloadFullQueryResultResponse>;
1754
+ declare const unmarshalGenieGetDownloadFullQueryResultResponseSchema: z.ZodType<GenieGetDownloadFullQueryResultResponse>;
1755
+ declare const unmarshalGenieGetMessageQueryResultResponseSchema: z.ZodType<GenieGetMessageQueryResultResponse>;
1756
+ declare const unmarshalGenieListConversationCommentsResponseSchema: z.ZodType<GenieListConversationCommentsResponse>;
1757
+ declare const unmarshalGenieListConversationMessagesResponseSchema: z.ZodType<GenieListConversationMessagesResponse>;
1758
+ declare const unmarshalGenieListConversationsResponseSchema: z.ZodType<GenieListConversationsResponse>;
1759
+ declare const unmarshalGenieListEvalResultsResponseSchema: z.ZodType<GenieListEvalResultsResponse>;
1760
+ declare const unmarshalGenieListEvalRunsResponseSchema: z.ZodType<GenieListEvalRunsResponse>;
1761
+ declare const unmarshalGenieListMessageCommentsResponseSchema: z.ZodType<GenieListMessageCommentsResponse>;
1762
+ declare const unmarshalGenieListSpacesResponseSchema: z.ZodType<GenieListSpacesResponse>;
1763
+ declare const unmarshalGenieMessageSchema: z.ZodType<GenieMessage>;
1764
+ declare const unmarshalGenieMessageCommentSchema: z.ZodType<GenieMessageComment>;
1765
+ declare const unmarshalGenieQueryAttachmentSchema: z.ZodType<GenieQueryAttachment>;
1766
+ declare const unmarshalGenieResultMetadataSchema: z.ZodType<GenieResultMetadata>;
1767
+ declare const unmarshalGenieSpaceSchema: z.ZodType<GenieSpace>;
1768
+ declare const unmarshalGenieStartConversationResponseSchema: z.ZodType<GenieStartConversationResponse>;
1769
+ declare const unmarshalGenieSuggestedQuestionsAttachmentSchema: z.ZodType<GenieSuggestedQuestionsAttachment>;
1770
+ declare const unmarshalGenieVizAttachmentSchema: z.ZodType<GenieVizAttachment>;
1771
+ declare const unmarshalListValueSchema: z.ZodType<ListValue>;
1772
+ declare const unmarshalMapStringValueEntrySchema: z.ZodType<MapStringValueEntry>;
1773
+ declare const unmarshalMessageErrorSchema: z.ZodType<MessageError>;
1774
+ declare const unmarshalPolicyFunctionArgumentSchema: z.ZodType<PolicyFunctionArgument>;
1775
+ declare const unmarshalQueryAttachmentParameterSchema: z.ZodType<QueryAttachmentParameter>;
1776
+ declare const unmarshalResultSchema: z.ZodType<Result>;
1777
+ declare const unmarshalResultDataSchema: z.ZodType<ResultData>;
1778
+ declare const unmarshalResultManifestSchema: z.ZodType<ResultManifest>;
1779
+ declare const unmarshalSchemaSchema: z.ZodType<Schema>;
1780
+ declare const unmarshalStatementResponseSchema: z.ZodType<StatementResponse>;
1781
+ declare const unmarshalStatementStatusSchema: z.ZodType<StatementStatus>;
1782
+ declare const unmarshalStructSchema: z.ZodType<Struct>;
1783
+ declare const unmarshalTextAttachmentSchema: z.ZodType<TextAttachment>;
1784
+ declare const unmarshalThoughtSchema: z.ZodType<Thought>;
1785
+ declare const unmarshalValueSchema: z.ZodType<Value>;
1786
+ declare const marshalGenieCancelResponseRequestSchema: z.ZodType;
1787
+ declare const marshalGenieCreateConversationMessageRequestSchema: z.ZodType;
1788
+ declare const marshalGenieCreateEvalRunRequestSchema: z.ZodType;
1789
+ declare const marshalGenieCreateMessageCommentRequestSchema: z.ZodType;
1790
+ declare const marshalGenieCreateSpaceRequestSchema: z.ZodType;
1791
+ declare const marshalGenieExecuteMessageAttachmentQueryRequestSchema: z.ZodType;
1792
+ declare const marshalGenieExecuteMessageQueryRequestSchema: z.ZodType;
1793
+ declare const marshalGenieGenerateDownloadFullQueryResultRequestSchema: z.ZodType;
1794
+ declare const marshalGenieSendMessageFeedbackRequestSchema: z.ZodType;
1795
+ declare const marshalGenieStartConversationRequestSchema: z.ZodType;
1796
+ declare const marshalGenieUpdateSpaceRequestSchema: z.ZodType;
1797
+ //#endregion
1798
+ export { ChunkInfo, ColumnInfo, ColumnMask, ColumnTypeName, DatabricksServiceExceptionProto, DownloadMessageAttachmentVisualizationRequest, DownloadMessageAttachmentVisualizationResponse, ErrorCode, EvaluationStatusType, ExternalLink, Format, GenieAttachment, GenieCancelResponseRequest, GenieConversation, GenieConversationSummary, GenieConversationType, GenieCreateConversationMessageRequest, GenieCreateEvalRunRequest, GenieCreateMessageCommentRequest, GenieCreateSpaceRequest, GenieDeleteConversationMessageRequest, GenieDeleteConversationRequest, GenieEvalAssessment, GenieEvalResponse, GenieEvalResponseType, GenieEvalResult, GenieEvalResultDetails, GenieEvalRunResponse, GenieExecuteMessageAttachmentQueryRequest, GenieExecuteMessageQueryRequest, GenieFeedback, GenieFeedbackRating, GenieGenerateDownloadFullQueryResultRequest, GenieGenerateDownloadFullQueryResultResponse, GenieGetConversationMessageRequest, GenieGetDownloadFullQueryResultRequest, GenieGetDownloadFullQueryResultResponse, GenieGetEvalResultDetailsRequest, GenieGetEvalRunRequest, GenieGetMessageAttachmentQueryResultRequest, GenieGetMessageQueryResultRequest, GenieGetMessageQueryResultResponse, GenieGetQueryResultByAttachmentRequest, GenieGetSpaceRequest, GenieListConversationCommentsRequest, GenieListConversationCommentsResponse, GenieListConversationMessagesRequest, GenieListConversationMessagesResponse, GenieListConversationsRequest, GenieListConversationsResponse, GenieListEvalResultsRequest, GenieListEvalResultsResponse, GenieListEvalRunsRequest, GenieListEvalRunsResponse, GenieListMessageCommentsRequest, GenieListMessageCommentsResponse, GenieListSpacesRequest, GenieListSpacesResponse, GenieMessage, GenieMessageComment, GenieQueryAttachment, GenieResultMetadata, GenieSendMessageFeedbackRequest, GenieSpace, GenieStartConversationRequest, GenieStartConversationResponse, GenieSuggestedQuestionsAttachment, GenieTrashSpaceRequest, GenieUpdateSpaceRequest, GenieVizAttachment, ListValue, MapStringValueEntry, MessageError, MessageError_Type, MessageStatus, MessageStatus_MessageStatus, NullValue, PolicyFunctionArgument, QueryAttachmentParameter, Result, ResultData, ResultManifest, Schema, ScoreReason, StatementResponse, StatementStatus, StatementStatus_State, Struct, TextAttachment, TextAttachmentPurpose, Thought, ThoughtType, Value, marshalGenieCancelResponseRequestSchema, marshalGenieCreateConversationMessageRequestSchema, marshalGenieCreateEvalRunRequestSchema, marshalGenieCreateMessageCommentRequestSchema, marshalGenieCreateSpaceRequestSchema, marshalGenieExecuteMessageAttachmentQueryRequestSchema, marshalGenieExecuteMessageQueryRequestSchema, marshalGenieGenerateDownloadFullQueryResultRequestSchema, marshalGenieSendMessageFeedbackRequestSchema, marshalGenieStartConversationRequestSchema, marshalGenieUpdateSpaceRequestSchema, unmarshalChunkInfoSchema, unmarshalColumnInfoSchema, unmarshalColumnMaskSchema, unmarshalDatabricksServiceExceptionProtoSchema, unmarshalExternalLinkSchema, unmarshalGenieAttachmentSchema, unmarshalGenieConversationSchema, unmarshalGenieConversationSummarySchema, unmarshalGenieEvalResponseSchema, unmarshalGenieEvalResultDetailsSchema, unmarshalGenieEvalResultSchema, unmarshalGenieEvalRunResponseSchema, unmarshalGenieFeedbackSchema, unmarshalGenieGenerateDownloadFullQueryResultResponseSchema, unmarshalGenieGetDownloadFullQueryResultResponseSchema, unmarshalGenieGetMessageQueryResultResponseSchema, unmarshalGenieListConversationCommentsResponseSchema, unmarshalGenieListConversationMessagesResponseSchema, unmarshalGenieListConversationsResponseSchema, unmarshalGenieListEvalResultsResponseSchema, unmarshalGenieListEvalRunsResponseSchema, unmarshalGenieListMessageCommentsResponseSchema, unmarshalGenieListSpacesResponseSchema, unmarshalGenieMessageCommentSchema, unmarshalGenieMessageSchema, unmarshalGenieQueryAttachmentSchema, unmarshalGenieResultMetadataSchema, unmarshalGenieSpaceSchema, unmarshalGenieStartConversationResponseSchema, unmarshalGenieSuggestedQuestionsAttachmentSchema, unmarshalGenieVizAttachmentSchema, unmarshalListValueSchema, unmarshalMapStringValueEntrySchema, unmarshalMessageErrorSchema, unmarshalPolicyFunctionArgumentSchema, unmarshalQueryAttachmentParameterSchema, unmarshalResultDataSchema, unmarshalResultManifestSchema, unmarshalResultSchema, unmarshalSchemaSchema, unmarshalStatementResponseSchema, unmarshalStatementStatusSchema, unmarshalStructSchema, unmarshalTextAttachmentSchema, unmarshalThoughtSchema, unmarshalValueSchema };
1799
+ //# sourceMappingURL=model.d.ts.map