@metabase/client 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +2 -2
  3. package/dist/{card-DkHtPMK4.d.ts → card-B3vHu_sj.d.ts} +3 -3
  4. package/dist/{card-BBLDmhtp.d.ts → card-Dq_X3Ol2.d.ts} +16 -16
  5. package/dist/{client-eOkt3tTd.d.ts → client-DdKXWHXy.d.ts} +135 -156
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +3 -1
  8. package/dist/{collection-DWjkDrln.d.ts → collection-CHEIzIE_.d.ts} +4 -4
  9. package/dist/{collection-BtjnSckn.d.ts → collection-CyZqHB2n.d.ts} +23 -23
  10. package/dist/{dashboard-DtLXVgtf.d.ts → dashboard-5ZMYiLrS.d.ts} +28 -28
  11. package/dist/{dashboard-B4qWeR10.d.ts → dashboard-DSuW_p6d.d.ts} +3 -3
  12. package/dist/{data-action-DqwcRA7B.d.ts → data-action-DBO2a_Sf.d.ts} +2 -2
  13. package/dist/data-app-CeF4Tazv.d.ts +111 -0
  14. package/dist/{database-DULVEXki.d.ts → database-C69Mg39B.d.ts} +11 -11
  15. package/dist/{database-Cw8ICtQi.d.ts → database-jfZpzZcH.d.ts} +3 -3
  16. package/dist/{dataset-Du1GRHhd.d.ts → dataset-IbEfvqlT.d.ts} +23 -23
  17. package/dist/{dataset-26H-dH4N.d.ts → dataset-jwm9qB3h.d.ts} +3 -3
  18. package/dist/{dependency-elYkHuk5.d.ts → dependency-BDwZJL_k.d.ts} +13 -13
  19. package/dist/{dependency-B8aPt_IM.d.ts → dependency-BitZZ45o.d.ts} +24 -24
  20. package/dist/domain/card.d.ts +1 -1
  21. package/dist/domain/collection.d.ts +1 -1
  22. package/dist/domain/dashboard.d.ts +1 -1
  23. package/dist/domain/data-action.d.ts +1 -1
  24. package/dist/domain/data-app.d.ts +2 -2
  25. package/dist/domain/data-app.js +27 -14
  26. package/dist/domain/database.d.ts +1 -1
  27. package/dist/domain/dataset.d.ts +1 -1
  28. package/dist/domain/dependency.d.ts +1 -1
  29. package/dist/domain/eid-translation.d.ts +1 -1
  30. package/dist/domain/embedding.d.ts +1 -1
  31. package/dist/domain/field.d.ts +1 -1
  32. package/dist/domain/git-sync.d.ts +1 -1
  33. package/dist/domain/glossary.d.ts +1 -1
  34. package/dist/domain/library.d.ts +1 -1
  35. package/dist/domain/metric.d.ts +1 -1
  36. package/dist/domain/moderation-review.d.ts +1 -1
  37. package/dist/domain/notification.d.ts +1 -1
  38. package/dist/domain/parameter.d.ts +1 -1
  39. package/dist/domain/pulse.d.ts +1 -1
  40. package/dist/domain/replacement.d.ts +1 -1
  41. package/dist/domain/revision.d.ts +1 -1
  42. package/dist/domain/search.d.ts +1 -1
  43. package/dist/domain/table.d.ts +1 -1
  44. package/dist/domain/timeline.d.ts +1 -1
  45. package/dist/domain/transform-dag-run.d.ts +1 -1
  46. package/dist/domain/transform-inspector.d.ts +1 -1
  47. package/dist/domain/transform-job.d.ts +1 -1
  48. package/dist/domain/transform-python.d.ts +1 -1
  49. package/dist/domain/transform-test.d.ts +2 -2
  50. package/dist/domain/transform-test.js +5 -1
  51. package/dist/domain/transform.d.ts +1 -1
  52. package/dist/{eid-translation-CP79Tz71.d.ts → eid-translation-nuhr8St2.d.ts} +10 -10
  53. package/dist/{embedding-oU3gqfgX.d.ts → embedding-Cz3RUJYf.d.ts} +1 -1
  54. package/dist/{erd-D2fpjDTj.d.ts → erd-DqG1DNRX.d.ts} +1 -1
  55. package/dist/{errors-DdMlaXqq.js → errors-D5mjCJCW.js} +12 -4
  56. package/dist/errors.d.ts +1 -1
  57. package/dist/{features-SMSfJhB6.d.ts → features-CpR6ZyvS.d.ts} +5 -1
  58. package/dist/{field-D-kF3G7v.d.ts → field-BhqgbKia.d.ts} +2 -2
  59. package/dist/{field-awM3Y7IP.d.ts → field-D84ql2Go.d.ts} +2 -2
  60. package/dist/{git-sync-8Tk8TirZ.d.ts → git-sync-ClRBckWI.d.ts} +1 -1
  61. package/dist/{git-sync-nvbSaNfS.d.ts → git-sync-_E3O8gGu.d.ts} +6 -6
  62. package/dist/{glossary-CQMSJmIx.d.ts → glossary-BHhfqyvP.d.ts} +2 -2
  63. package/dist/{glossary-CHK3elPj.d.ts → glossary-D2Q66pW3.d.ts} +1 -1
  64. package/dist/http/errors.d.ts +1 -1
  65. package/dist/http/errors.js +1 -1
  66. package/dist/http/oauth.js +1 -1
  67. package/dist/http/transport.d.ts +1 -1
  68. package/dist/http/transport.js +1 -1
  69. package/dist/index.d.ts +38 -38
  70. package/dist/index.js +5 -5
  71. package/dist/{input-gates-DwKoTJVQ.d.ts → input-gates-DQuCzfo6.d.ts} +1 -1
  72. package/dist/{json-DvOVLFVY.d.ts → json-BqBfc8w1.d.ts} +1 -1
  73. package/dist/json.d.ts +1 -1
  74. package/dist/{library-B9pEq7qP.d.ts → library-BihgcDZS.d.ts} +2 -2
  75. package/dist/{measure-D4ArCbsa.d.ts → measure-CO6dcDQ2.d.ts} +1 -1
  76. package/dist/{metric-BtEVH_Yp.d.ts → metric-DXbXFDOk.d.ts} +5 -5
  77. package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-B33XQU68.d.ts} +3 -3
  78. package/dist/{notification-D1MThyKE.d.ts → notification-BY2JEjKp.d.ts} +2 -2
  79. package/dist/{notification-BsuPAfMW.d.ts → notification-D7X382Y9.d.ts} +2 -2
  80. package/dist/{paginate-Du9kUbXZ.d.ts → paginate-Bgcj4F03.d.ts} +1 -1
  81. package/dist/paginate.d.ts +1 -1
  82. package/dist/{parameter-ak-J-IOj.d.ts → parameter-YAZEmuDI.d.ts} +4 -4
  83. package/dist/{pulse-0LG3K6qO.d.ts → pulse-DlEp937s.d.ts} +13 -13
  84. package/dist/{pulse-drQKS_pg.d.ts → pulse-mD_qiUho.d.ts} +2 -2
  85. package/dist/{refusal-B9aeHMc9.js → refusal-CvN0pxPR.js} +1 -1
  86. package/dist/{replacement-CyvtbxGg.d.ts → replacement-Bpn3UQWy.d.ts} +13 -13
  87. package/dist/{replacement-g3IKzPPj.d.ts → replacement-DIPomAwo.d.ts} +3 -3
  88. package/dist/{requirement-check-Nv0trVbp.d.ts → requirement-check-DH-EZ8Nx.d.ts} +2 -2
  89. package/dist/{requirements-Dx_ZVzl7.d.ts → requirements-CGEeSEwC.d.ts} +5 -5
  90. package/dist/resources/api-key.d.ts +1 -1
  91. package/dist/resources/card.d.ts +1 -1
  92. package/dist/resources/collection.d.ts +1 -1
  93. package/dist/resources/collection.js +1 -1
  94. package/dist/resources/content-translation.d.ts +1 -1
  95. package/dist/resources/content-translation.js +1 -1
  96. package/dist/resources/dashboard.d.ts +1 -1
  97. package/dist/resources/dashboard.js +1 -1
  98. package/dist/resources/data-action.d.ts +2 -2
  99. package/dist/resources/data-action.js +1 -1
  100. package/dist/resources/data-app.d.ts +35 -52
  101. package/dist/resources/data-app.js +23 -38
  102. package/dist/resources/database.d.ts +1 -1
  103. package/dist/resources/dataset.d.ts +1 -1
  104. package/dist/resources/dependency.d.ts +1 -1
  105. package/dist/resources/dependency.js +1 -1
  106. package/dist/resources/document.d.ts +2 -9
  107. package/dist/resources/document.js +1 -1
  108. package/dist/resources/eid-translation.d.ts +2 -2
  109. package/dist/resources/erd.d.ts +1 -1
  110. package/dist/resources/erd.js +1 -1
  111. package/dist/resources/field.d.ts +1 -1
  112. package/dist/resources/field.js +1 -1
  113. package/dist/resources/git-sync.d.ts +1 -1
  114. package/dist/resources/git-sync.js +2 -2
  115. package/dist/resources/glossary.d.ts +1 -1
  116. package/dist/resources/library.d.ts +1 -1
  117. package/dist/resources/library.js +1 -1
  118. package/dist/resources/measure.d.ts +1 -1
  119. package/dist/resources/measure.js +1 -1
  120. package/dist/resources/metric.d.ts +1 -1
  121. package/dist/resources/metric.js +1 -1
  122. package/dist/resources/moderation-review.d.ts +1 -1
  123. package/dist/resources/moderation-review.js +1 -1
  124. package/dist/resources/notification.d.ts +1 -1
  125. package/dist/resources/optional-parsed.d.ts +1 -1
  126. package/dist/resources/permission.d.ts +1 -1
  127. package/dist/resources/pivot-export.d.ts +1 -1
  128. package/dist/resources/pulse.d.ts +1 -1
  129. package/dist/resources/replacement.d.ts +1 -1
  130. package/dist/resources/replacement.js +1 -1
  131. package/dist/resources/revision.d.ts +1 -1
  132. package/dist/resources/revision.js +1 -1
  133. package/dist/resources/search.d.ts +1 -1
  134. package/dist/resources/search.js +1 -1
  135. package/dist/resources/segment.d.ts +1 -1
  136. package/dist/resources/session.d.ts +8 -0
  137. package/dist/resources/session.js +14 -0
  138. package/dist/resources/setting.d.ts +1 -1
  139. package/dist/resources/setup.d.ts +1 -1
  140. package/dist/resources/snippet.d.ts +1 -1
  141. package/dist/resources/table.d.ts +1 -1
  142. package/dist/resources/table.js +1 -1
  143. package/dist/resources/timeline-event.d.ts +2 -2
  144. package/dist/resources/timeline.d.ts +1 -1
  145. package/dist/resources/transform-dag-run.d.ts +2 -2
  146. package/dist/resources/transform-dag-run.js +1 -1
  147. package/dist/resources/transform-inspector.d.ts +2 -2
  148. package/dist/resources/transform-inspector.js +1 -1
  149. package/dist/resources/transform-job.d.ts +1 -1
  150. package/dist/resources/transform-job.js +1 -1
  151. package/dist/resources/transform-python.d.ts +1 -1
  152. package/dist/resources/transform-python.js +1 -1
  153. package/dist/resources/transform-tag.d.ts +1 -1
  154. package/dist/resources/transform-tag.js +1 -1
  155. package/dist/resources/transform-test.d.ts +1 -1
  156. package/dist/resources/transform-test.js +1 -1
  157. package/dist/resources/transform.d.ts +1 -1
  158. package/dist/resources/transform.js +1 -1
  159. package/dist/resources/upload.d.ts +1 -1
  160. package/dist/resources/user.d.ts +1 -1
  161. package/dist/{revision-Cft5Lcev.d.ts → revision-C3d3H6M1.d.ts} +1 -1
  162. package/dist/{search-DX1IVRRC.d.ts → search-CcMYvNrg.d.ts} +2 -2
  163. package/dist/{search-BUr4r7d2.d.ts → search-VlZ0qE4k.d.ts} +9 -9
  164. package/dist/{segment-c2EDEJNd.d.ts → segment-vL_lWbxX.d.ts} +1 -1
  165. package/dist/signal.d.ts +1 -1
  166. package/dist/{snippet-CSt-f812.d.ts → snippet-CR3Qw7Vj.d.ts} +1 -1
  167. package/dist/{table-R-q8w__K.d.ts → table-CYBfgiXd.d.ts} +21 -21
  168. package/dist/{table-BA-k8Zgt.d.ts → table-MNH1ybH1.d.ts} +10 -10
  169. package/dist/{timeline-B35sx1FM.d.ts → timeline-BdF_aI5F.d.ts} +1 -1
  170. package/dist/{timeline-D3Clk0_n.d.ts → timeline-DR-yCbB2.d.ts} +2 -2
  171. package/dist/{transform-C5thnJwW.d.ts → transform-DXcm0NVR.d.ts} +15 -15
  172. package/dist/{transform-DzgPup_a.d.ts → transform-Dh1ZDOJ7.d.ts} +12 -12
  173. package/dist/{transform-dag-run-BgZwv1yx.d.ts → transform-dag-run-BSrdrjaK.d.ts} +4 -4
  174. package/dist/{transform-inspector-BUYBt6--.d.ts → transform-inspector-DMXcBC0h.d.ts} +3 -3
  175. package/dist/{transform-job-D8jTQtdX.d.ts → transform-job-DHAQGfWg.d.ts} +4 -4
  176. package/dist/{transform-job-DtLWrsyH.d.ts → transform-job-DzP5HoUy.d.ts} +6 -6
  177. package/dist/{transform-python-DtL3xxMj.d.ts → transform-python-igNhtjTv.d.ts} +1 -1
  178. package/dist/{transform-test-B_HR-yKA.d.ts → transform-test-CPlCdxNq.d.ts} +2 -2
  179. package/dist/{transform-test-CeMzDpUC.d.ts → transform-test-DpTJm7H7.d.ts} +3 -2
  180. package/dist/{transport-HP7cyo9N.js → transport-D52WFGBR.js} +1 -1
  181. package/dist/{transport-CyHAGDqx.d.ts → transport-DZjspEuv.d.ts} +7 -3
  182. package/dist/{upload-BSixoElJ.d.ts → upload-B3qYWIWN.d.ts} +1 -1
  183. package/dist/version/capability-error.d.ts +1 -1
  184. package/dist/version/capability-error.js +1 -1
  185. package/dist/version/features.d.ts +1 -1
  186. package/dist/version/features.js +1 -0
  187. package/dist/version/input-gates.d.ts +1 -1
  188. package/dist/version/probe.d.ts +1 -1
  189. package/dist/version/profile.d.ts +1 -1
  190. package/dist/version/requirement-check.d.ts +1 -1
  191. package/dist/version/requirements.d.ts +1 -1
  192. package/dist/version/requirements.js +4 -4
  193. package/package.json +1 -1
  194. package/dist/data-app-CqP5_fpB.d.ts +0 -76
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { ReplacementCheck, ReplacementRun, ReplacementRunStarted } from "../domain/replacement.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/replacement.ts
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "../list-BT_bBm9Z.js";
3
3
  //#region src/resources/revision.d.ts
4
4
  declare function revisionResource(transport: Transport): {
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { gateTriggered } from "../version/input-gates.js";
3
3
  import { REVISION_ENTITY_GATES, Revision, RevisionRow } from "../domain/revision.js";
4
4
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- import { n as SearchParams, r as searchResource, t as SearchPage } from "../search-DX1IVRRC.js";
1
+ import { n as SearchParams, r as searchResource, t as SearchPage } from "../search-CcMYvNrg.js";
2
2
  export { SearchPage, SearchParams, searchResource };
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { SearchResult } from "../domain/search.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/search.ts
@@ -1,2 +1,2 @@
1
- import { n as segmentResource, t as SegmentArchiveParams } from "../segment-c2EDEJNd.js";
1
+ import { n as segmentResource, t as SegmentArchiveParams } from "../segment-vL_lWbxX.js";
2
2
  export { SegmentArchiveParams, segmentResource };
@@ -0,0 +1,8 @@
1
+ import { t as SessionProperties } from "../session-properties-COtlxAcK.js";
2
+ import { h as Transport, l as ProbeReadOptions } from "../transport-DZjspEuv.js";
3
+ //#region src/resources/session.d.ts
4
+ declare function sessionResource(transport: Transport): {
5
+ properties: (options?: ProbeReadOptions) => Promise<SessionProperties>;
6
+ };
7
+ //#endregion
8
+ export { sessionResource };
@@ -0,0 +1,14 @@
1
+ import { SessionProperties } from "../domain/session-properties.js";
2
+ //#region src/resources/session.ts
3
+ function sessionResource(transport) {
4
+ /**
5
+ * Get the session properties: the settings the caller may read, among them the server's version
6
+ * and the premium features its license grants. Read afresh, never from a profile handed in.
7
+ */
8
+ async function properties(options = {}) {
9
+ return transport.probe(SessionProperties, options);
10
+ }
11
+ return { properties };
12
+ }
13
+ //#endregion
14
+ export { sessionResource };
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "../list-BT_bBm9Z.js";
3
3
  import { t as Setting } from "../setting-DXuQGXGF.js";
4
4
  //#region src/resources/setting.d.ts
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { n as SetupResult, t as SetupInput } from "../setup-JqcJ2unJ.js";
3
3
  //#region src/resources/setup.d.ts
4
4
  declare function setupResource(transport: Transport): {
@@ -1,2 +1,2 @@
1
- import { n as snippetResource, t as SnippetListParams } from "../snippet-CSt-f812.js";
1
+ import { n as snippetResource, t as SnippetListParams } from "../snippet-CR3Qw7Vj.js";
2
2
  export { SnippetListParams, snippetResource };
@@ -1,2 +1,2 @@
1
- import { n as tableResource, t as TableListParams } from "../table-BA-k8Zgt.js";
1
+ import { n as tableResource, t as TableListParams } from "../table-MNH1ybH1.js";
2
2
  export { TableListParams, tableResource };
@@ -2,7 +2,7 @@ import { PartialWriteError } from "../errors.js";
2
2
  import { CapabilityError } from "../version/capability-error.js";
3
3
  import { supersedingFeature } from "../version/requirement-check.js";
4
4
  import { DATA_AUTHORITY_WITHDRAWAL_GATE, DATA_LAYER_MEDALLION_GATE, DATA_LAYER_TIER_GATE, Table, TableDataLayerTier, TableForeignKey, TableQueryMetadata, TableSelectors } from "../domain/table.js";
5
- import { t as explainer } from "../refusal-B9aeHMc9.js";
5
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
6
6
  import { buildCsvFormData } from "./csv-upload.js";
7
7
  import { parseRequestBody } from "./request-body.js";
8
8
  import { gateTriggered } from "../version/input-gates.js";
@@ -1,5 +1,5 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
2
- import { i as TimelineEvent, o as TimelineEventCreateInput, s as TimelineEventUpdateInput } from "../timeline-B35sx1FM.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
+ import { i as TimelineEvent, o as TimelineEventCreateInput, s as TimelineEventUpdateInput } from "../timeline-BdF_aI5F.js";
3
3
  //#region src/resources/timeline-event.d.ts
4
4
  declare function timelineEventResource(transport: Transport): {
5
5
  get: (id: number, options?: RequestOptions) => Promise<TimelineEvent>;
@@ -1,2 +1,2 @@
1
- import { n as TimelineListParams, r as timelineResource, t as TimelineEventsParams } from "../timeline-D3Clk0_n.js";
1
+ import { n as TimelineListParams, r as timelineResource, t as TimelineEventsParams } from "../timeline-DR-yCbB2.js";
2
2
  export { TimelineEventsParams, TimelineListParams, timelineResource };
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "../list-BT_bBm9Z.js";
3
3
  //#region src/resources/transform-dag-run.d.ts
4
4
  declare function transformDagRunResource(transport: Transport): {
@@ -7,7 +7,7 @@ declare function transformDagRunResource(transport: Transport): {
7
7
  id: number;
8
8
  transform_id: number | null;
9
9
  run_method: "manual" | "cron";
10
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
10
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
11
11
  is_active: boolean | null;
12
12
  start_time: string;
13
13
  message: string | null;
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { TransformMemberRun } from "../domain/transform-dag-run.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/transform-dag-run.ts
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  //#region src/resources/transform-inspector.d.ts
3
3
  declare function transformInspectorResource(transport: Transport): {
4
4
  discover: (id: number, options?: RequestOptions | undefined) => Promise<{
@@ -95,7 +95,7 @@ declare function transformInspectorResource(transport: Transport): {
95
95
  [x: string]: unknown;
96
96
  id: string;
97
97
  title: string;
98
- display: "table" | "hidden" | "progress" | "bar" | "row" | "line" | "area" | "pie" | "scalar" | "gauge";
98
+ display: "table" | "row" | "hidden" | "progress" | "bar" | "line" | "area" | "pie" | "scalar" | "gauge";
99
99
  dataset_query: {
100
100
  [x: string]: unknown;
101
101
  };
@@ -1,5 +1,5 @@
1
1
  import { CardQueryResult } from "../domain/card.js";
2
- import { t as explainer } from "../refusal-B9aeHMc9.js";
2
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
3
3
  import { TransformInspection, TransformLens } from "../domain/transform-inspector.js";
4
4
  //#region src/resources/transform-inspector.ts
5
5
  function lensPath(id, lensId) {
@@ -1,2 +1,2 @@
1
- import { n as transformJobResource, t as TransformJobRunParams } from "../transform-job-DtLWrsyH.js";
1
+ import { n as transformJobResource, t as TransformJobRunParams } from "../transform-job-DzP5HoUy.js";
2
2
  export { TransformJobRunParams, transformJobResource };
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { transformRowSchema } from "../domain/transform.js";
3
3
  import { TransformJobActiveResult, transformJobRunResultSchema, transformJobSchema } from "../domain/transform-job.js";
4
4
  import { z } from "zod";
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  //#region src/resources/transform-python.d.ts
3
3
  declare function transformPythonResource(transport: Transport): {
4
4
  getLibrary: (path: string, options?: RequestOptions | undefined) => Promise<{
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { PythonLibrary, PythonTestRunError, PythonTestRunOutput, pythonTestRunBody } from "../domain/transform-python.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/transform-python.ts
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "../list-BT_bBm9Z.js";
3
3
  //#region src/resources/transform-tag.d.ts
4
4
  declare function transformTagResource(transport: Transport): {
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { TransformTag } from "../domain/transform-tag.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/transform-tag.ts
@@ -1,2 +1,2 @@
1
- import { n as transformTestResource, t as TransformTestListParams } from "../transform-test-B_HR-yKA.js";
1
+ import { n as transformTestResource, t as TransformTestListParams } from "../transform-test-CPlCdxNq.js";
2
2
  export { TransformTestListParams, transformTestResource };
@@ -1,4 +1,4 @@
1
- import { t as explainer } from "../refusal-B9aeHMc9.js";
1
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
2
2
  import { TransformTest, TransformTestRunResult } from "../domain/transform-test.js";
3
3
  import { z } from "zod";
4
4
  //#region src/resources/transform-test.ts
@@ -1,2 +1,2 @@
1
- import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, o as transformResource, r as TransformRunPageParams, t as TransformDagParams } from "../transform-DzgPup_a.js";
1
+ import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, o as transformResource, r as TransformRunPageParams, t as TransformDagParams } from "../transform-Dh1ZDOJ7.js";
2
2
  export { TransformDagParams, TransformRunPageOptions, TransformRunPageParams, TransformRunParams, TransformRunSummaryPageParams, transformResource };
@@ -1,6 +1,6 @@
1
1
  import { TimeoutError } from "../errors.js";
2
2
  import { paginatePages } from "../paginate.js";
3
- import { t as explainer } from "../refusal-B9aeHMc9.js";
3
+ import { t as explainer } from "../refusal-CvN0pxPR.js";
4
4
  import { pollUntil } from "../poll.js";
5
5
  import { TransformDagRunResult, TransformDagTransform, TransformRun, TransformRunSummary, isTransformRunFailed, isTransformRunTerminal, transformDetailSchema, transformRowSchema, transformSourceBody } from "../domain/transform.js";
6
6
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- import { n as uploadResource, t as UploadCsvParams } from "../upload-BSixoElJ.js";
1
+ import { n as uploadResource, t as UploadCsvParams } from "../upload-B3qYWIWN.js";
2
2
  export { UploadCsvParams, uploadResource };
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "../transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "../transport-DZjspEuv.js";
2
2
  import { t as CurrentUser } from "../user-Sqqv7rqh.js";
3
3
  //#region src/resources/user.d.ts
4
4
  declare function userResource(transport: Transport): {
@@ -1,4 +1,4 @@
1
- import { r as InputGate } from "./input-gates-DwKoTJVQ.js";
1
+ import { r as InputGate } from "./input-gates-DQuCzfo6.js";
2
2
  import { z } from "zod";
3
3
  //#region src/domain/revision.d.ts
4
4
  declare const RevisionEntity: z.ZodEnum<{
@@ -1,5 +1,5 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
2
- import { n as SearchModel, r as SearchResult } from "./search-BUr4r7d2.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.js";
2
+ import { n as SearchModel, r as SearchResult } from "./search-VlZ0qE4k.js";
3
3
  //#region src/resources/search.d.ts
4
4
  interface SearchPage {
5
5
  data: SearchResult[];
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/domain/search.d.ts
3
3
  declare const SEARCH_MODELS: readonly ["card", "dataset", "metric", "dashboard", "collection", "database", "table", "segment", "measure", "document", "exploration", "action", "transform", "indexed-entity"];
4
4
  declare const SearchModel: z.ZodEnum<{
5
- collection: "collection";
6
5
  card: "card";
6
+ collection: "collection";
7
7
  dashboard: "dashboard";
8
8
  database: "database";
9
9
  dataset: "dataset";
@@ -14,16 +14,16 @@ declare const SearchModel: z.ZodEnum<{
14
14
  table: "table";
15
15
  transform: "transform";
16
16
  exploration: "exploration";
17
- "indexed-entity": "indexed-entity";
18
17
  action: "action";
18
+ "indexed-entity": "indexed-entity";
19
19
  }>;
20
20
  type SearchModel = z.infer<typeof SearchModel>;
21
21
  declare const SearchResult: z.ZodObject<{
22
22
  id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
23
23
  name: z.ZodString;
24
24
  model: z.ZodEnum<{
25
- collection: "collection";
26
25
  card: "card";
26
+ collection: "collection";
27
27
  dashboard: "dashboard";
28
28
  database: "database";
29
29
  dataset: "dataset";
@@ -34,8 +34,8 @@ declare const SearchResult: z.ZodObject<{
34
34
  table: "table";
35
35
  transform: "transform";
36
36
  exploration: "exploration";
37
- "indexed-entity": "indexed-entity";
38
37
  action: "action";
38
+ "indexed-entity": "indexed-entity";
39
39
  }>;
40
40
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  archived: z.ZodNullable<z.ZodBoolean>;
@@ -61,9 +61,11 @@ declare const SearchResult: z.ZodObject<{
61
61
  type SearchResult = z.infer<typeof SearchResult>;
62
62
  declare const SearchResultCompact: z.ZodObject<{
63
63
  id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
64
+ name: z.ZodString;
65
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
66
  model: z.ZodEnum<{
65
- collection: "collection";
66
67
  card: "card";
68
+ collection: "collection";
67
69
  dashboard: "dashboard";
68
70
  database: "database";
69
71
  dataset: "dataset";
@@ -74,14 +76,12 @@ declare const SearchResultCompact: z.ZodObject<{
74
76
  table: "table";
75
77
  transform: "transform";
76
78
  exploration: "exploration";
77
- "indexed-entity": "indexed-entity";
78
79
  action: "action";
80
+ "indexed-entity": "indexed-entity";
79
81
  }>;
80
- name: z.ZodString;
81
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
82
  database_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
83
  table_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ table_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  dashboard: z.ZodOptional<z.ZodNullable<z.ZodObject<{
86
86
  id: z.ZodNumber;
87
87
  name: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
3
  import { i as SegmentUpdateInput, r as SegmentCreateInput, t as Segment } from "./segment-CbAgVO-5.js";
4
4
  //#region src/resources/segment.d.ts
package/dist/signal.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { X as MetabaseError } from "./transport-CyHAGDqx.js";
1
+ import { X as MetabaseError } from "./transport-DZjspEuv.js";
2
2
  //#region src/signal.d.ts
3
3
  declare function combineAborts(...signals: Array<AbortSignal | undefined>): AbortSignal;
4
4
  declare function throwIfAborted(...signals: Array<AbortSignal | undefined>): void;
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
3
  import { i as SnippetUpdateInput, r as SnippetCreateInput, t as Snippet } from "./snippet-C_Ilx7tR.js";
4
4
  //#region src/resources/snippet.d.ts
@@ -1,4 +1,4 @@
1
- import { r as InputGate } from "./input-gates-DwKoTJVQ.js";
1
+ import { r as InputGate } from "./input-gates-DQuCzfo6.js";
2
2
  import { z } from "zod";
3
3
  //#region src/domain/table.d.ts
4
4
  declare const TableVisibilityType: z.ZodEnum<{
@@ -8,9 +8,9 @@ declare const TableVisibilityType: z.ZodEnum<{
8
8
  }>;
9
9
  type TableVisibilityType = z.infer<typeof TableVisibilityType>;
10
10
  declare const TableDataLayerTier: z.ZodEnum<{
11
- internal: "internal";
12
11
  hidden: "hidden";
13
12
  final: "final";
13
+ internal: "internal";
14
14
  }>;
15
15
  type TableDataLayerTier = z.infer<typeof TableDataLayerTier>;
16
16
  declare const TableDataLayerMedallion: z.ZodEnum<{
@@ -21,9 +21,9 @@ declare const TableDataLayerMedallion: z.ZodEnum<{
21
21
  }>;
22
22
  type TableDataLayerMedallion = z.infer<typeof TableDataLayerMedallion>;
23
23
  declare const TableDataLayer: z.ZodEnum<{
24
- internal: "internal";
25
24
  hidden: "hidden";
26
25
  final: "final";
26
+ internal: "internal";
27
27
  gold: "gold";
28
28
  silver: "silver";
29
29
  bronze: "bronze";
@@ -53,9 +53,9 @@ declare const Table: z.ZodObject<{
53
53
  cruft: "cruft";
54
54
  }>>>;
55
55
  data_layer: z.ZodNullable<z.ZodEnum<{
56
- internal: "internal";
57
56
  hidden: "hidden";
58
57
  final: "final";
58
+ internal: "internal";
59
59
  gold: "gold";
60
60
  silver: "silver";
61
61
  bronze: "bronze";
@@ -397,9 +397,9 @@ declare const TableQueryMetadata: z.ZodObject<{
397
397
  cruft: "cruft";
398
398
  }>>>;
399
399
  data_layer: z.ZodNullable<z.ZodEnum<{
400
- internal: "internal";
401
400
  hidden: "hidden";
402
401
  final: "final";
402
+ internal: "internal";
403
403
  gold: "gold";
404
404
  silver: "silver";
405
405
  bronze: "bronze";
@@ -1026,14 +1026,13 @@ declare const TableCompact: z.ZodObject<{
1026
1026
  name: z.ZodString;
1027
1027
  description: z.ZodNullable<z.ZodString>;
1028
1028
  display_name: z.ZodString;
1029
- db_id: z.ZodNumber;
1030
1029
  schema: z.ZodNullable<z.ZodString>;
1031
1030
  visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1032
1031
  hidden: "hidden";
1033
1032
  technical: "technical";
1034
1033
  cruft: "cruft";
1035
1034
  }>>>;
1036
- active: z.ZodBoolean;
1035
+ db_id: z.ZodNumber;
1037
1036
  entity_type: z.ZodNullable<z.ZodEnum<{
1038
1037
  "entity/GenericTable": "entity/GenericTable";
1039
1038
  "entity/UserTable": "entity/UserTable";
@@ -1043,6 +1042,7 @@ declare const TableCompact: z.ZodObject<{
1043
1042
  "entity/SubscriptionTable": "entity/SubscriptionTable";
1044
1043
  "entity/EventTable": "entity/EventTable";
1045
1044
  }>>;
1045
+ active: z.ZodBoolean;
1046
1046
  is_published: z.ZodOptional<z.ZodBoolean>;
1047
1047
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1048
1048
  id: z.ZodNumber;
@@ -1219,14 +1219,13 @@ declare const TableQueryMetadataCompact: z.ZodObject<{
1219
1219
  name: z.ZodString;
1220
1220
  description: z.ZodNullable<z.ZodString>;
1221
1221
  display_name: z.ZodString;
1222
- db_id: z.ZodNumber;
1223
1222
  schema: z.ZodNullable<z.ZodString>;
1224
1223
  visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1225
1224
  hidden: "hidden";
1226
1225
  technical: "technical";
1227
1226
  cruft: "cruft";
1228
1227
  }>>>;
1229
- active: z.ZodBoolean;
1228
+ db_id: z.ZodNumber;
1230
1229
  entity_type: z.ZodNullable<z.ZodEnum<{
1231
1230
  "entity/GenericTable": "entity/GenericTable";
1232
1231
  "entity/UserTable": "entity/UserTable";
@@ -1236,6 +1235,7 @@ declare const TableQueryMetadataCompact: z.ZodObject<{
1236
1235
  "entity/SubscriptionTable": "entity/SubscriptionTable";
1237
1236
  "entity/EventTable": "entity/EventTable";
1238
1237
  }>>;
1238
+ active: z.ZodBoolean;
1239
1239
  is_published: z.ZodOptional<z.ZodBoolean>;
1240
1240
  fields: z.ZodArray<z.ZodObject<{
1241
1241
  id: z.ZodNumber;
@@ -1412,9 +1412,9 @@ declare const DATA_LAYER_MEDALLION_GATE: InputGate;
1412
1412
  declare const TABLE_FROM_DEFINITION_GATE: InputGate;
1413
1413
  declare const DATA_AUTHORITY_WITHDRAWAL_GATE: InputGate;
1414
1414
  declare const TableDataSource: z.ZodEnum<{
1415
- unknown: "unknown";
1416
1415
  upload: "upload";
1417
1416
  transform: "transform";
1417
+ unknown: "unknown";
1418
1418
  ingested: "ingested";
1419
1419
  "metabase-transform": "metabase-transform";
1420
1420
  "source-data": "source-data";
@@ -1453,17 +1453,17 @@ declare const TableUpdateInput: z.ZodObject<{
1453
1453
  ingested: "ingested";
1454
1454
  }>>>;
1455
1455
  data_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1456
- unknown: "unknown";
1457
1456
  upload: "upload";
1458
1457
  transform: "transform";
1458
+ unknown: "unknown";
1459
1459
  ingested: "ingested";
1460
1460
  "metabase-transform": "metabase-transform";
1461
1461
  "source-data": "source-data";
1462
1462
  }>>>;
1463
1463
  data_layer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1464
- internal: "internal";
1465
1464
  hidden: "hidden";
1466
1465
  final: "final";
1466
+ internal: "internal";
1467
1467
  gold: "gold";
1468
1468
  silver: "silver";
1469
1469
  bronze: "bronze";
@@ -1489,17 +1489,17 @@ declare const TableBulkEditFields: z.ZodObject<{
1489
1489
  ingested: "ingested";
1490
1490
  }>>>;
1491
1491
  data_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1492
- unknown: "unknown";
1493
1492
  upload: "upload";
1494
1493
  transform: "transform";
1494
+ unknown: "unknown";
1495
1495
  ingested: "ingested";
1496
1496
  "metabase-transform": "metabase-transform";
1497
1497
  "source-data": "source-data";
1498
1498
  }>>>;
1499
1499
  data_layer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1500
- internal: "internal";
1501
1500
  hidden: "hidden";
1502
1501
  final: "final";
1502
+ internal: "internal";
1503
1503
  }>>>;
1504
1504
  entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1505
1505
  "entity/GenericTable": "entity/GenericTable";
@@ -1524,17 +1524,17 @@ declare const TableBulkEditInput: z.ZodObject<{
1524
1524
  ingested: "ingested";
1525
1525
  }>>>;
1526
1526
  data_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1527
- unknown: "unknown";
1528
1527
  upload: "upload";
1529
1528
  transform: "transform";
1529
+ unknown: "unknown";
1530
1530
  ingested: "ingested";
1531
1531
  "metabase-transform": "metabase-transform";
1532
1532
  "source-data": "source-data";
1533
1533
  }>>>;
1534
1534
  data_layer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1535
- internal: "internal";
1536
1535
  hidden: "hidden";
1537
1536
  final: "final";
1537
+ internal: "internal";
1538
1538
  }>>>;
1539
1539
  entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1540
1540
  "entity/GenericTable": "entity/GenericTable";
@@ -1577,17 +1577,17 @@ declare const TableBulkEditResult: z.ZodObject<{
1577
1577
  ingested: "ingested";
1578
1578
  }>>>;
1579
1579
  data_source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1580
- unknown: "unknown";
1581
1580
  upload: "upload";
1582
1581
  transform: "transform";
1582
+ unknown: "unknown";
1583
1583
  ingested: "ingested";
1584
1584
  "metabase-transform": "metabase-transform";
1585
1585
  "source-data": "source-data";
1586
1586
  }>>>;
1587
1587
  data_layer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1588
- internal: "internal";
1589
1588
  hidden: "hidden";
1590
1589
  final: "final";
1590
+ internal: "internal";
1591
1591
  }>>>;
1592
1592
  entity_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1593
1593
  "entity/GenericTable": "entity/GenericTable";
@@ -1928,9 +1928,9 @@ declare const TableForeignKey: z.ZodObject<{
1928
1928
  cruft: "cruft";
1929
1929
  }>>>;
1930
1930
  data_layer: z.ZodNullable<z.ZodEnum<{
1931
- internal: "internal";
1932
1931
  hidden: "hidden";
1933
1932
  final: "final";
1933
+ internal: "internal";
1934
1934
  gold: "gold";
1935
1935
  silver: "silver";
1936
1936
  bronze: "bronze";
@@ -2565,9 +2565,9 @@ declare const TableForeignKey: z.ZodObject<{
2565
2565
  cruft: "cruft";
2566
2566
  }>>>;
2567
2567
  data_layer: z.ZodNullable<z.ZodEnum<{
2568
- internal: "internal";
2569
2568
  hidden: "hidden";
2570
2569
  final: "final";
2570
+ internal: "internal";
2571
2571
  gold: "gold";
2572
2572
  silver: "silver";
2573
2573
  bronze: "bronze";
@@ -3056,8 +3056,8 @@ declare const TableForeignKeyCompact: z.ZodObject<{
3056
3056
  id: z.ZodNumber;
3057
3057
  name: z.ZodString;
3058
3058
  display_name: z.ZodString;
3059
- db_id: z.ZodNumber;
3060
3059
  schema: z.ZodNullable<z.ZodString>;
3060
+ db_id: z.ZodNumber;
3061
3061
  }, z.core.$strip>;
3062
3062
  }, z.core.$strip>;
3063
3063
  destination: z.ZodObject<{
@@ -1,6 +1,6 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CyHAGDqx.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-DZjspEuv.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
- import { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, p as TableDataSource, u as TableDataLayer, y as TableQueryMetadata } from "./table-R-q8w__K.js";
3
+ import { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, p as TableDataSource, u as TableDataLayer, y as TableQueryMetadata } from "./table-CYBfgiXd.js";
4
4
  import { r as UploadUpdateResult } from "./upload-UPfZFdbH.js";
5
5
  import { t as CsvFile } from "./csv-upload--K35QedP.js";
6
6
  //#region src/resources/table.d.ts
@@ -29,7 +29,7 @@ declare function tableResource(transport: Transport): {
29
29
  db_id: number;
30
30
  schema: string | null;
31
31
  entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
32
- data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
32
+ data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
33
33
  estimated_row_count: number | null;
34
34
  active: boolean;
35
35
  visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
@@ -69,8 +69,8 @@ declare function tableResource(transport: Transport): {
69
69
  show_in_getting_started?: boolean | undefined;
70
70
  field_order?: "database" | "custom" | "alphabetical" | "smart" | undefined;
71
71
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
72
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
73
- data_layer?: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
72
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
73
+ data_layer?: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
74
74
  owner_email?: string | null | undefined;
75
75
  owner_user_id?: number | null | undefined;
76
76
  collection_id?: number | undefined;
@@ -84,7 +84,7 @@ declare function tableResource(transport: Transport): {
84
84
  db_id: number;
85
85
  schema: string | null;
86
86
  entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
87
- data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
87
+ data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
88
88
  estimated_row_count: number | null;
89
89
  active: boolean;
90
90
  visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
@@ -122,8 +122,8 @@ declare function tableResource(transport: Transport): {
122
122
  schema_ids?: string[] | undefined;
123
123
  table_ids?: number[] | undefined;
124
124
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
125
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
126
- data_layer?: "internal" | "hidden" | "final" | null | undefined;
125
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
126
+ data_layer?: "hidden" | "final" | "internal" | null | undefined;
127
127
  entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
128
128
  owner_email?: string | null | undefined;
129
129
  owner_user_id?: number | null | undefined;
@@ -133,8 +133,8 @@ declare function tableResource(transport: Transport): {
133
133
  schema_ids?: string[] | undefined;
134
134
  table_ids?: number[] | undefined;
135
135
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
136
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
137
- data_layer?: "internal" | "hidden" | "final" | null | undefined;
136
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
137
+ data_layer?: "hidden" | "final" | "internal" | null | undefined;
138
138
  entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
139
139
  owner_email?: string | null | undefined;
140
140
  owner_user_id?: number | null | undefined;