@metabase/client 0.1.1 → 0.1.2

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 (155) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +4 -2
  3. package/dist/auth/credential.d.ts +1 -1
  4. package/dist/auth/oauth-login.d.ts +1 -1
  5. package/dist/auth/oauth-login.js +1 -1
  6. package/dist/auth/oauth-session.d.ts +1 -1
  7. package/dist/{card-DN0sLkCG.d.ts → card-CbV6hLYH.d.ts} +3 -3
  8. package/dist/{card-BxBzr5Uj.d.ts → card-CrSywvOt.d.ts} +23 -23
  9. package/dist/{client-DdXLlH1B.d.ts → client-cBi6_RQs.d.ts} +108 -108
  10. package/dist/client.d.ts +1 -1
  11. package/dist/{collection-DGnTvD6R.d.ts → collection-Bmtisr3r.d.ts} +34 -34
  12. package/dist/{collection-fFahL-ub.d.ts → collection-Q9FNMiRh.d.ts} +4 -4
  13. package/dist/{credential-6aOEGqMH.d.ts → credential-B6fKSvqp.d.ts} +1 -1
  14. package/dist/{dashboard-CM7RmNeE.d.ts → dashboard-CknUcTp8.d.ts} +3 -3
  15. package/dist/{dashboard-DtLXVgtf.d.ts → dashboard-DBdEehA9.d.ts} +18 -18
  16. package/dist/{data-action-CkXVrOUH.d.ts → data-action-CqqZ0JYg.d.ts} +1 -1
  17. package/dist/{data-app-CqP5_fpB.d.ts → data-app-MoMS9VUr.d.ts} +1 -1
  18. package/dist/{database-B0JNZjDN.d.ts → database-Bs5WQOOZ.d.ts} +3 -3
  19. package/dist/{database-BxqDmfcj.d.ts → database-CYNLJ8AZ.d.ts} +19 -19
  20. package/dist/{dataset-BBNGPVec.d.ts → dataset-cg8ZZrOP.d.ts} +78 -78
  21. package/dist/{dataset-BUirJ1rO.d.ts → dataset-dzWljE_C.d.ts} +3 -3
  22. package/dist/{dependency-CzpXmeu7.d.ts → dependency-CL-YG9KH.d.ts} +25 -25
  23. package/dist/{dependency-arB8Cr2H.d.ts → dependency-VqvLTDAU.d.ts} +134 -134
  24. package/dist/domain/card.d.ts +1 -1
  25. package/dist/domain/collection.d.ts +1 -1
  26. package/dist/domain/dashboard.d.ts +1 -1
  27. package/dist/domain/data-action.d.ts +1 -1
  28. package/dist/domain/data-app.d.ts +1 -1
  29. package/dist/domain/database.d.ts +1 -1
  30. package/dist/domain/dataset.d.ts +1 -1
  31. package/dist/domain/dependency.d.ts +1 -1
  32. package/dist/domain/eid-translation.d.ts +1 -1
  33. package/dist/domain/embedding.d.ts +1 -1
  34. package/dist/domain/field.d.ts +1 -1
  35. package/dist/domain/git-sync.d.ts +1 -1
  36. package/dist/domain/metric.d.ts +1 -1
  37. package/dist/domain/moderation-review.d.ts +1 -1
  38. package/dist/domain/notification.d.ts +1 -1
  39. package/dist/domain/parameter.d.ts +1 -1
  40. package/dist/domain/pulse.d.ts +1 -1
  41. package/dist/domain/replacement.d.ts +1 -1
  42. package/dist/domain/revision.d.ts +1 -1
  43. package/dist/domain/search.d.ts +1 -1
  44. package/dist/domain/table.d.ts +1 -1
  45. package/dist/domain/timeline.d.ts +1 -1
  46. package/dist/domain/transform-dag-run.d.ts +1 -1
  47. package/dist/domain/transform-inspector.d.ts +1 -1
  48. package/dist/domain/transform-job.d.ts +1 -1
  49. package/dist/domain/transform-test.d.ts +1 -1
  50. package/dist/domain/transform.d.ts +1 -1
  51. package/dist/{eid-translation-CH6NPWd-.d.ts → eid-translation-aQSffx0o.d.ts} +35 -35
  52. package/dist/{embedding-oU3gqfgX.d.ts → embedding-Cz3RUJYf.d.ts} +1 -1
  53. package/dist/{erd-CbV7xvAc.d.ts → erd-DCgdEC2S.d.ts} +1 -1
  54. package/dist/errors.d.ts +1 -1
  55. package/dist/{field-D1Pfk-0S.d.ts → field-ozrfbvUd.d.ts} +2 -2
  56. package/dist/{field-p9Rme2zB.d.ts → field-tqQPtVuR.d.ts} +3 -3
  57. package/dist/{git-sync-BTf1aYHr.d.ts → git-sync-5lFWX1ds.d.ts} +1 -1
  58. package/dist/{git-sync-C99SVdJ9.d.ts → git-sync-QL9Nu6gP.d.ts} +8 -8
  59. package/dist/{glossary-DFvnz-E5.d.ts → glossary-DwS7QVrl.d.ts} +1 -1
  60. package/dist/http/errors.d.ts +1 -1
  61. package/dist/http/oauth.d.ts +1 -1
  62. package/dist/http/oauth.js +47 -36
  63. package/dist/http/transport.d.ts +1 -1
  64. package/dist/index.d.ts +35 -35
  65. package/dist/index.js +1 -1
  66. package/dist/{json-BksZpXDC.d.ts → json-DwGOvRtS.d.ts} +1 -1
  67. package/dist/json.d.ts +1 -1
  68. package/dist/{measure-lPz8qnwz.d.ts → measure-CInoXeyH.d.ts} +1 -1
  69. package/dist/{metric-DcYloqOQ.d.ts → metric-CYOmbcM5.d.ts} +8 -8
  70. package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-CWUQ3_HL.d.ts} +4 -4
  71. package/dist/{notification-D1MThyKE.d.ts → notification-BY2JEjKp.d.ts} +2 -2
  72. package/dist/{notification-Cp5GJErS.d.ts → notification-D-Hp82Pn.d.ts} +2 -2
  73. package/dist/{oauth-C4ordeoJ.d.ts → oauth-CVoZpuq8.d.ts} +4 -2
  74. package/dist/{oauth-login-D734Jvbq.js → oauth-login--tDagiZu.js} +29 -11
  75. package/dist/{oauth-login-CJsT_3EE.d.ts → oauth-login-SZ4Csai8.d.ts} +3 -2
  76. package/dist/{oauth-session-BlIlcd8Q.d.ts → oauth-session-COLH4puN.d.ts} +1 -1
  77. package/dist/{paginate-COuL0Gzl.d.ts → paginate-CaJ5usdp.d.ts} +1 -1
  78. package/dist/paginate.d.ts +1 -1
  79. package/dist/{parameter-ak-J-IOj.d.ts → parameter-BYo7uR-J.d.ts} +2 -2
  80. package/dist/{pulse-BzKmz3Yn.d.ts → pulse-BTpSNxhT.d.ts} +2 -2
  81. package/dist/{pulse-0LG3K6qO.d.ts → pulse-BUlfrJZH.d.ts} +16 -16
  82. package/dist/{replacement-BGyggp-G.d.ts → replacement-BQian4vA.d.ts} +19 -19
  83. package/dist/{replacement-CVebCuNp.d.ts → replacement-Dbtvvrmz.d.ts} +11 -11
  84. package/dist/{requirement-check-glU7wqhQ.d.ts → requirement-check-CHHEHXcj.d.ts} +1 -1
  85. package/dist/resources/api-key.d.ts +1 -1
  86. package/dist/resources/card.d.ts +1 -1
  87. package/dist/resources/collection.d.ts +1 -1
  88. package/dist/resources/collection.js +6 -1
  89. package/dist/resources/content-translation.d.ts +1 -1
  90. package/dist/resources/dashboard.d.ts +1 -1
  91. package/dist/resources/data-action.d.ts +2 -2
  92. package/dist/resources/data-app.d.ts +1 -1
  93. package/dist/resources/database.d.ts +1 -1
  94. package/dist/resources/dataset.d.ts +1 -1
  95. package/dist/resources/dependency.d.ts +1 -1
  96. package/dist/resources/document.d.ts +2 -9
  97. package/dist/resources/eid-translation.d.ts +2 -2
  98. package/dist/resources/erd.d.ts +1 -1
  99. package/dist/resources/field.d.ts +1 -1
  100. package/dist/resources/git-sync.d.ts +1 -1
  101. package/dist/resources/glossary.d.ts +1 -1
  102. package/dist/resources/library.d.ts +1 -1
  103. package/dist/resources/measure.d.ts +1 -1
  104. package/dist/resources/metric.d.ts +1 -1
  105. package/dist/resources/moderation-review.d.ts +1 -1
  106. package/dist/resources/notification.d.ts +1 -1
  107. package/dist/resources/optional-parsed.d.ts +1 -1
  108. package/dist/resources/permission.d.ts +1 -1
  109. package/dist/resources/pivot-export.d.ts +1 -1
  110. package/dist/resources/pulse.d.ts +1 -1
  111. package/dist/resources/replacement.d.ts +1 -1
  112. package/dist/resources/revision.d.ts +1 -1
  113. package/dist/resources/search.d.ts +1 -1
  114. package/dist/resources/segment.d.ts +1 -1
  115. package/dist/resources/setting.d.ts +1 -1
  116. package/dist/resources/setup.d.ts +1 -1
  117. package/dist/resources/snippet.d.ts +1 -1
  118. package/dist/resources/table.d.ts +1 -1
  119. package/dist/resources/timeline-event.d.ts +2 -2
  120. package/dist/resources/timeline.d.ts +1 -1
  121. package/dist/resources/transform-dag-run.d.ts +2 -2
  122. package/dist/resources/transform-inspector.d.ts +4 -4
  123. package/dist/resources/transform-job.d.ts +1 -1
  124. package/dist/resources/transform-python.d.ts +1 -1
  125. package/dist/resources/transform-tag.d.ts +1 -1
  126. package/dist/resources/transform-test.d.ts +1 -1
  127. package/dist/resources/transform.d.ts +1 -1
  128. package/dist/resources/upload.d.ts +1 -1
  129. package/dist/resources/user.d.ts +1 -1
  130. package/dist/{revision-Dyl-8p7d.d.ts → revision-DNEw6S93.d.ts} +1 -1
  131. package/dist/{search-Cten2h0I.d.ts → search-BQWkdVg1.d.ts} +2 -2
  132. package/dist/{search-Cm5IxKss.d.ts → search-tK5lmRb8.d.ts} +18 -18
  133. package/dist/{segment-DQLX6r1E.d.ts → segment-jyhBtOAZ.d.ts} +1 -1
  134. package/dist/signal.d.ts +3 -2
  135. package/dist/signal.js +9 -4
  136. package/dist/{snippet-Djn0rL21.d.ts → snippet-DsgohpTV.d.ts} +1 -1
  137. package/dist/{table-CDZbLNow.d.ts → table-B1pQSpTA.d.ts} +10 -10
  138. package/dist/{table-Od6uvDVW.d.ts → table-BAl8aPZZ.d.ts} +30 -30
  139. package/dist/{timeline-BTs6fuRp.d.ts → timeline-BdLvwRnl.d.ts} +2 -2
  140. package/dist/{timeline-BK45hy-h.d.ts → timeline-BfX1lMob.d.ts} +11 -11
  141. package/dist/{transform-WASQAXeA.d.ts → transform-Ds74yPiY.d.ts} +12 -12
  142. package/dist/{transform-C5thnJwW.d.ts → transform-DwnIcpqV.d.ts} +14 -14
  143. package/dist/{transform-dag-run-BgZwv1yx.d.ts → transform-dag-run-BSrdrjaK.d.ts} +4 -4
  144. package/dist/{transform-inspector-CMCh8WKV.d.ts → transform-inspector-BMaRqcRM.d.ts} +8 -8
  145. package/dist/{transform-job-DmTwKxhc.d.ts → transform-job-C85GxBHj.d.ts} +6 -6
  146. package/dist/{transform-job-D8jTQtdX.d.ts → transform-job-Dfp9Ox0l.d.ts} +2 -2
  147. package/dist/{transform-test-CR_i54IV.d.ts → transform-test-C3hiZ4AV.d.ts} +2 -2
  148. package/dist/{transform-test-CeMzDpUC.d.ts → transform-test-DROPvrkI.d.ts} +1 -1
  149. package/dist/{transport-BsXqRujn.d.ts → transport-CS11mEqI.d.ts} +3 -3
  150. package/dist/{upload-B5YjVkSW.d.ts → upload-Bx1D7eNy.d.ts} +1 -1
  151. package/dist/version/capability-error.d.ts +1 -1
  152. package/dist/version/probe.d.ts +1 -1
  153. package/dist/version/profile.d.ts +1 -1
  154. package/dist/version/requirement-check.d.ts +1 -1
  155. package/package.json +1 -1
@@ -35,36 +35,36 @@ type CollectionListFilter = z.infer<typeof CollectionListFilter>;
35
35
  declare const COLLECTION_ITEM_FILTER_MODELS: readonly ["card", "dataset", "metric", "dashboard", "snippet", "collection", "document", "exploration", "table", "transform", "measure", "pulse", "timeline", "no_models"];
36
36
  declare const CollectionItemFilterModel: z.ZodEnum<{
37
37
  transform: "transform";
38
- collection: "collection";
38
+ metric: "metric";
39
+ table: "table";
39
40
  card: "card";
40
41
  dashboard: "dashboard";
41
42
  dataset: "dataset";
43
+ snippet: "snippet";
44
+ collection: "collection";
42
45
  document: "document";
43
- metric: "metric";
46
+ exploration: "exploration";
44
47
  measure: "measure";
45
48
  pulse: "pulse";
46
- snippet: "snippet";
47
- table: "table";
48
49
  timeline: "timeline";
49
- exploration: "exploration";
50
50
  no_models: "no_models";
51
51
  }>;
52
52
  type CollectionItemFilterModel = z.infer<typeof CollectionItemFilterModel>;
53
53
  declare const COLLECTION_ITEM_MODELS: readonly ["card", "dataset", "metric", "dashboard", "snippet", "collection", "document", "exploration", "table", "transform", "measure", "pulse", "timeline", "no_models", "indexed-entity", "action"];
54
54
  declare const CollectionItemModel: z.ZodEnum<{
55
55
  transform: "transform";
56
- collection: "collection";
56
+ metric: "metric";
57
+ table: "table";
57
58
  card: "card";
58
59
  dashboard: "dashboard";
59
60
  dataset: "dataset";
61
+ snippet: "snippet";
62
+ collection: "collection";
60
63
  document: "document";
61
- metric: "metric";
64
+ exploration: "exploration";
62
65
  measure: "measure";
63
66
  pulse: "pulse";
64
- snippet: "snippet";
65
- table: "table";
66
67
  timeline: "timeline";
67
- exploration: "exploration";
68
68
  no_models: "no_models";
69
69
  "indexed-entity": "indexed-entity";
70
70
  action: "action";
@@ -128,12 +128,11 @@ declare const CollectionCompact: z.ZodObject<{
128
128
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
129
  archived: z.ZodOptional<z.ZodBoolean>;
130
130
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
132
+ is_personal: z.ZodOptional<z.ZodBoolean>;
131
133
  authority_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
132
134
  official: "official";
133
135
  }>>>;
134
- is_personal: z.ZodOptional<z.ZodBoolean>;
135
- is_remote_synced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
136
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
137
136
  namespace: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
138
137
  "data-apps": "data-apps";
139
138
  transforms: "transforms";
@@ -143,24 +142,25 @@ declare const CollectionCompact: z.ZodObject<{
143
142
  "tenant-specific": "tenant-specific";
144
143
  "data-actions": "data-actions";
145
144
  }>>>;
145
+ is_remote_synced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
146
146
  }, z.core.$strip>;
147
147
  type CollectionCompact = z.infer<typeof CollectionCompact>;
148
148
  declare const CollectionItem: z.ZodObject<{
149
149
  id: z.ZodNumber;
150
150
  model: z.ZodEnum<{
151
151
  transform: "transform";
152
- collection: "collection";
152
+ metric: "metric";
153
+ table: "table";
153
154
  card: "card";
154
155
  dashboard: "dashboard";
155
156
  dataset: "dataset";
157
+ snippet: "snippet";
158
+ collection: "collection";
156
159
  document: "document";
157
- metric: "metric";
160
+ exploration: "exploration";
158
161
  measure: "measure";
159
162
  pulse: "pulse";
160
- snippet: "snippet";
161
- table: "table";
162
163
  timeline: "timeline";
163
- exploration: "exploration";
164
164
  no_models: "no_models";
165
165
  "indexed-entity": "indexed-entity";
166
166
  action: "action";
@@ -182,25 +182,25 @@ declare const CollectionItemCompact: z.ZodObject<{
182
182
  name: z.ZodString;
183
183
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
184
  archived: z.ZodNullable<z.ZodBoolean>;
185
- collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
186
185
  model: z.ZodEnum<{
187
186
  transform: "transform";
188
- collection: "collection";
187
+ metric: "metric";
188
+ table: "table";
189
189
  card: "card";
190
190
  dashboard: "dashboard";
191
191
  dataset: "dataset";
192
+ snippet: "snippet";
193
+ collection: "collection";
192
194
  document: "document";
193
- metric: "metric";
195
+ exploration: "exploration";
194
196
  measure: "measure";
195
197
  pulse: "pulse";
196
- snippet: "snippet";
197
- table: "table";
198
198
  timeline: "timeline";
199
- exploration: "exploration";
200
199
  no_models: "no_models";
201
200
  "indexed-entity": "indexed-entity";
202
201
  action: "action";
203
202
  }>;
203
+ collection_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
204
204
  }, z.core.$strip>;
205
205
  type CollectionItemCompact = z.infer<typeof CollectionItemCompact>;
206
206
  declare const CollectionTreeNodeBase: z.ZodObject<{
@@ -223,36 +223,36 @@ declare const CollectionTreeNodeBase: z.ZodObject<{
223
223
  }>>>;
224
224
  here: z.ZodOptional<z.ZodArray<z.ZodEnum<{
225
225
  transform: "transform";
226
- collection: "collection";
226
+ metric: "metric";
227
+ table: "table";
227
228
  card: "card";
228
229
  dashboard: "dashboard";
229
230
  dataset: "dataset";
231
+ snippet: "snippet";
232
+ collection: "collection";
230
233
  document: "document";
231
- metric: "metric";
234
+ exploration: "exploration";
232
235
  measure: "measure";
233
236
  pulse: "pulse";
234
- snippet: "snippet";
235
- table: "table";
236
237
  timeline: "timeline";
237
- exploration: "exploration";
238
238
  no_models: "no_models";
239
239
  "indexed-entity": "indexed-entity";
240
240
  action: "action";
241
241
  }>>>;
242
242
  below: z.ZodOptional<z.ZodArray<z.ZodEnum<{
243
243
  transform: "transform";
244
- collection: "collection";
244
+ metric: "metric";
245
+ table: "table";
245
246
  card: "card";
246
247
  dashboard: "dashboard";
247
248
  dataset: "dataset";
249
+ snippet: "snippet";
250
+ collection: "collection";
248
251
  document: "document";
249
- metric: "metric";
252
+ exploration: "exploration";
250
253
  measure: "measure";
251
254
  pulse: "pulse";
252
- snippet: "snippet";
253
- table: "table";
254
255
  timeline: "timeline";
255
- exploration: "exploration";
256
256
  no_models: "no_models";
257
257
  "indexed-entity": "indexed-entity";
258
258
  action: "action";
@@ -1,7 +1,7 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
- import { n as Page, r as PaginateOptions } from "./paginate-COuL0Gzl.js";
4
- import { c as CollectionId, d as CollectionItemFilterModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, m as CollectionNamespace, p as CollectionListFilter, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-DGnTvD6R.js";
3
+ import { n as Page, r as PaginateOptions } from "./paginate-CaJ5usdp.js";
4
+ import { c as CollectionId, d as CollectionItemFilterModel, g as CollectionTreeNode, h as CollectionPinnedState, i as Collection, m as CollectionNamespace, p as CollectionListFilter, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-Bmtisr3r.js";
5
5
  import { z } from "zod";
6
6
  //#region src/resources/collection.d.ts
7
7
  interface CollectionListParams {
@@ -35,7 +35,7 @@ declare function collectionResource(transport: Transport): {
35
35
  itemPages: (ref: string | number, params?: CollectionItemListParams | undefined, options?: CollectionItemPageOptions | undefined) => AsyncIterable<Page<{
36
36
  [x: string]: unknown;
37
37
  id: number;
38
- model: "transform" | "collection" | "card" | "dashboard" | "dataset" | "document" | "metric" | "measure" | "pulse" | "snippet" | "table" | "timeline" | "exploration" | "no_models" | "indexed-entity" | "action";
38
+ model: "transform" | "metric" | "table" | "card" | "dashboard" | "dataset" | "snippet" | "collection" | "document" | "exploration" | "measure" | "pulse" | "timeline" | "no_models" | "indexed-entity" | "action";
39
39
  name: string;
40
40
  archived: boolean | null;
41
41
  description?: string | null | undefined;
@@ -1,4 +1,4 @@
1
- import { o as OAuthTokens } from "./oauth-C4ordeoJ.js";
1
+ import { o as OAuthTokens } from "./oauth-CVoZpuq8.js";
2
2
  //#region src/auth/credential.d.ts
3
3
  interface ApiKeyCredential {
4
4
  kind: "apiKey";
@@ -1,7 +1,7 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
- import { _ as DashcardDetail, a as DashboardCopyInput, l as DashboardListFilter, m as DashboardUpdateInput, o as DashboardCreateInput, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput } from "./dashboard-DtLXVgtf.js";
4
- import { s as ParameterValues } from "./parameter-ak-J-IOj.js";
3
+ import { _ as DashcardDetail, a as DashboardCopyInput, l as DashboardListFilter, m as DashboardUpdateInput, o as DashboardCreateInput, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput } from "./dashboard-DBdEehA9.js";
4
+ import { s as ParameterValues } from "./parameter-BYo7uR-J.js";
5
5
  //#region src/resources/dashboard.d.ts
6
6
  interface DashboardListParams {
7
7
  f?: DashboardListFilter | undefined;
@@ -32,9 +32,7 @@ type Dashcard = z.infer<typeof Dashcard>;
32
32
  declare const DashcardCompact: z.ZodObject<{
33
33
  id: z.ZodNumber;
34
34
  dashboard_id: z.ZodNumber;
35
- col: z.ZodNumber;
36
35
  card_id: z.ZodNullable<z.ZodNumber>;
37
- row: z.ZodNumber;
38
36
  dashboard_tab_id: z.ZodNullable<z.ZodNumber>;
39
37
  parameter_mappings: z.ZodNullable<z.ZodArray<z.ZodObject<{
40
38
  parameter_id: z.ZodString;
@@ -45,6 +43,8 @@ declare const DashcardCompact: z.ZodObject<{
45
43
  }, z.core.$loose>]>], null>, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>], null>, z.ZodTuple<[z.ZodLiteral<"text-tag">, z.ZodString], null>, z.ZodNumber, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>;
46
44
  card_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
45
  }, z.core.$loose>>>;
46
+ row: z.ZodNumber;
47
+ col: z.ZodNumber;
48
48
  size_x: z.ZodNumber;
49
49
  size_y: z.ZodNumber;
50
50
  }, z.core.$strip>;
@@ -117,16 +117,16 @@ declare const DashcardDetail: z.ZodObject<{
117
117
  id: z.ZodNumber;
118
118
  name: z.ZodString;
119
119
  type: z.ZodEnum<{
120
- metric: "metric";
121
- model: "model";
122
120
  question: "question";
121
+ model: "model";
122
+ metric: "metric";
123
123
  }>;
124
124
  display: z.ZodString;
125
125
  description: z.ZodNullable<z.ZodString>;
126
126
  archived: z.ZodBoolean;
127
127
  query_type: z.ZodNullable<z.ZodEnum<{
128
- query: "query";
129
128
  native: "native";
129
+ query: "query";
130
130
  }>>;
131
131
  database_id: z.ZodNullable<z.ZodNumber>;
132
132
  table_id: z.ZodNullable<z.ZodNumber>;
@@ -199,7 +199,6 @@ declare const Dashboard: z.ZodObject<{
199
199
  id: "id";
200
200
  date: "date";
201
201
  text: "text";
202
- "temporal-unit": "temporal-unit";
203
202
  "date/single": "date/single";
204
203
  category: "category";
205
204
  "location/city": "location/city";
@@ -211,6 +210,7 @@ declare const Dashboard: z.ZodObject<{
211
210
  "date/quarter-year": "date/quarter-year";
212
211
  "date/relative": "date/relative";
213
212
  "date/all-options": "date/all-options";
213
+ "temporal-unit": "temporal-unit";
214
214
  "number/!=": "number/!=";
215
215
  "number/<=": "number/<=";
216
216
  "number/=": "number/=";
@@ -329,7 +329,6 @@ declare const DashboardDetail: z.ZodObject<{
329
329
  id: "id";
330
330
  date: "date";
331
331
  text: "text";
332
- "temporal-unit": "temporal-unit";
333
332
  "date/single": "date/single";
334
333
  category: "category";
335
334
  "location/city": "location/city";
@@ -341,6 +340,7 @@ declare const DashboardDetail: z.ZodObject<{
341
340
  "date/quarter-year": "date/quarter-year";
342
341
  "date/relative": "date/relative";
343
342
  "date/all-options": "date/all-options";
343
+ "temporal-unit": "temporal-unit";
344
344
  "number/!=": "number/!=";
345
345
  "number/<=": "number/<=";
346
346
  "number/=": "number/=";
@@ -434,16 +434,16 @@ declare const DashboardDetail: z.ZodObject<{
434
434
  id: z.ZodNumber;
435
435
  name: z.ZodString;
436
436
  type: z.ZodEnum<{
437
- metric: "metric";
438
- model: "model";
439
437
  question: "question";
438
+ model: "model";
439
+ metric: "metric";
440
440
  }>;
441
441
  display: z.ZodString;
442
442
  description: z.ZodNullable<z.ZodString>;
443
443
  archived: z.ZodBoolean;
444
444
  query_type: z.ZodNullable<z.ZodEnum<{
445
- query: "query";
446
445
  native: "native";
446
+ query: "query";
447
447
  }>>;
448
448
  database_id: z.ZodNullable<z.ZodNumber>;
449
449
  table_id: z.ZodNullable<z.ZodNumber>;
@@ -498,9 +498,7 @@ declare const DashboardCompact: z.ZodObject<{
498
498
  dashcards: z.ZodOptional<z.ZodArray<z.ZodObject<{
499
499
  id: z.ZodNumber;
500
500
  dashboard_id: z.ZodNumber;
501
- col: z.ZodNumber;
502
501
  card_id: z.ZodNullable<z.ZodNumber>;
503
- row: z.ZodNumber;
504
502
  dashboard_tab_id: z.ZodNullable<z.ZodNumber>;
505
503
  parameter_mappings: z.ZodNullable<z.ZodArray<z.ZodObject<{
506
504
  parameter_id: z.ZodString;
@@ -511,6 +509,8 @@ declare const DashboardCompact: z.ZodObject<{
511
509
  }, z.core.$loose>]>], null>, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>], null>, z.ZodTuple<[z.ZodLiteral<"text-tag">, z.ZodString], null>, z.ZodNumber, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>;
512
510
  card_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
513
511
  }, z.core.$loose>>>;
512
+ row: z.ZodNumber;
513
+ col: z.ZodNumber;
514
514
  size_x: z.ZodNumber;
515
515
  size_y: z.ZodNumber;
516
516
  }, z.core.$strip>>>;
@@ -533,7 +533,6 @@ declare const DashboardCreateInput: z.ZodObject<{
533
533
  id: "id";
534
534
  date: "date";
535
535
  text: "text";
536
- "temporal-unit": "temporal-unit";
537
536
  "date/single": "date/single";
538
537
  category: "category";
539
538
  "location/city": "location/city";
@@ -545,6 +544,7 @@ declare const DashboardCreateInput: z.ZodObject<{
545
544
  "date/quarter-year": "date/quarter-year";
546
545
  "date/relative": "date/relative";
547
546
  "date/all-options": "date/all-options";
547
+ "temporal-unit": "temporal-unit";
548
548
  "number/!=": "number/!=";
549
549
  "number/<=": "number/<=";
550
550
  "number/=": "number/=";
@@ -653,8 +653,8 @@ declare const DashboardUpdateInput: z.ZodObject<{
653
653
  enable_embedding: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
654
654
  embedding_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
655
655
  embedding_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
656
- enabled: "enabled";
657
656
  disabled: "disabled";
657
+ enabled: "enabled";
658
658
  locked: "locked";
659
659
  }>>>>;
660
660
  parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -665,7 +665,6 @@ declare const DashboardUpdateInput: z.ZodObject<{
665
665
  id: "id";
666
666
  date: "date";
667
667
  text: "text";
668
- "temporal-unit": "temporal-unit";
669
668
  "date/single": "date/single";
670
669
  category: "category";
671
670
  "location/city": "location/city";
@@ -677,6 +676,7 @@ declare const DashboardUpdateInput: z.ZodObject<{
677
676
  "date/quarter-year": "date/quarter-year";
678
677
  "date/relative": "date/relative";
679
678
  "date/all-options": "date/all-options";
679
+ "temporal-unit": "temporal-unit";
680
680
  "number/!=": "number/!=";
681
681
  "number/<=": "number/<=";
682
682
  "number/=": "number/=";
@@ -824,7 +824,6 @@ declare const DashboardCopy: z.ZodObject<{
824
824
  id: "id";
825
825
  date: "date";
826
826
  text: "text";
827
- "temporal-unit": "temporal-unit";
828
827
  "date/single": "date/single";
829
828
  category: "category";
830
829
  "location/city": "location/city";
@@ -836,6 +835,7 @@ declare const DashboardCopy: z.ZodObject<{
836
835
  "date/quarter-year": "date/quarter-year";
837
836
  "date/relative": "date/relative";
838
837
  "date/all-options": "date/all-options";
838
+ "temporal-unit": "temporal-unit";
839
839
  "number/!=": "number/!=";
840
840
  "number/<=": "number/<=";
841
841
  "number/=": "number/=";
@@ -941,9 +941,7 @@ declare const DashboardCopyCompact: z.ZodObject<{
941
941
  dashcards: z.ZodOptional<z.ZodArray<z.ZodObject<{
942
942
  id: z.ZodNumber;
943
943
  dashboard_id: z.ZodNumber;
944
- col: z.ZodNumber;
945
944
  card_id: z.ZodNullable<z.ZodNumber>;
946
- row: z.ZodNumber;
947
945
  dashboard_tab_id: z.ZodNullable<z.ZodNumber>;
948
946
  parameter_mappings: z.ZodNullable<z.ZodArray<z.ZodObject<{
949
947
  parameter_id: z.ZodString;
@@ -954,6 +952,8 @@ declare const DashboardCopyCompact: z.ZodObject<{
954
952
  }, z.core.$loose>]>], null>, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>], null>, z.ZodTuple<[z.ZodLiteral<"text-tag">, z.ZodString], null>, z.ZodNumber, z.ZodTuple<[z.ZodString], z.ZodUnknown>]>;
955
953
  card_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
956
954
  }, z.core.$loose>>>;
955
+ row: z.ZodNumber;
956
+ col: z.ZodNumber;
957
957
  size_x: z.ZodNumber;
958
958
  size_y: z.ZodNumber;
959
959
  }, z.core.$strip>>>;
@@ -44,8 +44,8 @@ declare const DataActionCompact: z.ZodObject<{
44
44
  id: z.ZodNumber;
45
45
  name: z.ZodString;
46
46
  archived: z.ZodBoolean;
47
- collection_id: z.ZodNullable<z.ZodNumber>;
48
47
  database_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ collection_id: z.ZodNullable<z.ZodNumber>;
49
49
  }, z.core.$strip>;
50
50
  type DataActionCompact = z.infer<typeof DataActionCompact>;
51
51
  declare const DataActionCreateInput: z.ZodObject<{
@@ -44,8 +44,8 @@ type DataAppEntry = z.infer<typeof DataAppEntry>;
44
44
  declare const DataAppCompact: z.ZodObject<{
45
45
  name: z.ZodString;
46
46
  display_name: z.ZodString;
47
- outdated: z.ZodOptional<z.ZodBoolean>;
48
47
  enabled: z.ZodOptional<z.ZodBoolean>;
48
+ outdated: z.ZodOptional<z.ZodBoolean>;
49
49
  resource_collection_id: z.ZodOptional<z.ZodNumber>;
50
50
  }, z.core.$strip>;
51
51
  type DataAppCompact = z.infer<typeof DataAppCompact>;
@@ -1,8 +1,8 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
3
  import { a as PollOptions } from "./poll-CIwnee7h.js";
4
- import { i as DatabaseListInclude, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-BxqDmfcj.js";
5
- import { a as Table } from "./table-Od6uvDVW.js";
4
+ import { i as DatabaseListInclude, o as DatabaseSyncResult, r as DatabaseGetInclude, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-CYNLJ8AZ.js";
5
+ import { a as Table } from "./table-BAl8aPZZ.js";
6
6
  //#region src/resources/database.d.ts
7
7
  interface DatabaseListParams {
8
8
  include?: DatabaseListInclude | undefined;
@@ -7,9 +7,9 @@ declare const DatabaseVirtualTable: z.ZodObject<{
7
7
  schema: z.ZodString;
8
8
  description: z.ZodNullable<z.ZodString>;
9
9
  type: z.ZodEnum<{
10
- metric: "metric";
11
- model: "model";
12
10
  question: "question";
11
+ model: "model";
12
+ metric: "metric";
13
13
  }>;
14
14
  moderated_status: z.ZodNullable<z.ZodString>;
15
15
  entity_id: z.ZodNullable<z.ZodString>;
@@ -17,9 +17,9 @@ declare const DatabaseVirtualTable: z.ZodObject<{
17
17
  type DatabaseVirtualTable = z.infer<typeof DatabaseVirtualTable>;
18
18
  declare const DatabaseVirtualTableCompact: z.ZodObject<{
19
19
  type: z.ZodEnum<{
20
- metric: "metric";
21
- model: "model";
22
20
  question: "question";
21
+ model: "model";
22
+ metric: "metric";
23
23
  }>;
24
24
  id: z.ZodString;
25
25
  description: z.ZodNullable<z.ZodString>;
@@ -59,9 +59,9 @@ declare const Database: z.ZodObject<{
59
59
  cruft: "cruft";
60
60
  }>>>;
61
61
  data_layer: z.ZodNullable<z.ZodEnum<{
62
- internal: "internal";
63
62
  hidden: "hidden";
64
63
  final: "final";
64
+ internal: "internal";
65
65
  gold: "gold";
66
66
  silver: "silver";
67
67
  bronze: "bronze";
@@ -378,9 +378,9 @@ declare const Database: z.ZodObject<{
378
378
  schema: z.ZodString;
379
379
  description: z.ZodNullable<z.ZodString>;
380
380
  type: z.ZodEnum<{
381
- metric: "metric";
382
- model: "model";
383
381
  question: "question";
382
+ model: "model";
383
+ metric: "metric";
384
384
  }>;
385
385
  moderated_status: z.ZodNullable<z.ZodString>;
386
386
  entity_id: z.ZodNullable<z.ZodString>;
@@ -399,12 +399,6 @@ declare const DatabaseCompact: z.ZodObject<{
399
399
  display_name: z.ZodString;
400
400
  db_id: z.ZodNumber;
401
401
  schema: z.ZodNullable<z.ZodString>;
402
- visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
403
- hidden: "hidden";
404
- technical: "technical";
405
- cruft: "cruft";
406
- }>>>;
407
- active: z.ZodBoolean;
408
402
  entity_type: z.ZodNullable<z.ZodEnum<{
409
403
  "entity/GenericTable": "entity/GenericTable";
410
404
  "entity/UserTable": "entity/UserTable";
@@ -414,13 +408,19 @@ declare const DatabaseCompact: z.ZodObject<{
414
408
  "entity/SubscriptionTable": "entity/SubscriptionTable";
415
409
  "entity/EventTable": "entity/EventTable";
416
410
  }>>;
411
+ visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
412
+ hidden: "hidden";
413
+ technical: "technical";
414
+ cruft: "cruft";
415
+ }>>>;
416
+ active: z.ZodBoolean;
417
417
  is_published: z.ZodOptional<z.ZodBoolean>;
418
418
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
419
  id: z.ZodNumber;
420
420
  name: z.ZodString;
421
421
  description: z.ZodNullable<z.ZodString>;
422
- display_name: z.ZodString;
423
422
  table_id: z.ZodNumber;
423
+ display_name: z.ZodString;
424
424
  base_type: z.ZodEnum<{
425
425
  "type/*": "type/*";
426
426
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -585,9 +585,9 @@ declare const DatabaseCompact: z.ZodObject<{
585
585
  }, z.core.$strip>>>;
586
586
  }, z.core.$strip>, z.ZodObject<{
587
587
  type: z.ZodEnum<{
588
- metric: "metric";
589
- model: "model";
590
588
  question: "question";
589
+ model: "model";
590
+ metric: "metric";
591
591
  }>;
592
592
  id: z.ZodString;
593
593
  description: z.ZodNullable<z.ZodString>;
@@ -641,9 +641,9 @@ declare const DatabaseWithSettings: z.ZodObject<{
641
641
  cruft: "cruft";
642
642
  }>>>;
643
643
  data_layer: z.ZodNullable<z.ZodEnum<{
644
- internal: "internal";
645
644
  hidden: "hidden";
646
645
  final: "final";
646
+ internal: "internal";
647
647
  gold: "gold";
648
648
  silver: "silver";
649
649
  bronze: "bronze";
@@ -960,9 +960,9 @@ declare const DatabaseWithSettings: z.ZodObject<{
960
960
  schema: z.ZodString;
961
961
  description: z.ZodNullable<z.ZodString>;
962
962
  type: z.ZodEnum<{
963
- metric: "metric";
964
- model: "model";
965
963
  question: "question";
964
+ model: "model";
965
+ metric: "metric";
966
966
  }>;
967
967
  moderated_status: z.ZodNullable<z.ZodString>;
968
968
  entity_id: z.ZodNullable<z.ZodString>;