@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
@@ -7,9 +7,9 @@ declare const CompiledQuery: z.ZodObject<{
7
7
  }, z.core.$loose>;
8
8
  type CompiledQuery = z.infer<typeof CompiledQuery>;
9
9
  declare const CompiledQueryCompact: z.ZodObject<{
10
- collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
10
  query: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnknown>]>;
12
11
  params: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
12
+ collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  }, z.core.$strip>;
14
14
  type CompiledQueryCompact = z.infer<typeof CompiledQueryCompact>;
15
15
  declare const VirtualField: z.ZodObject<{
@@ -365,8 +365,8 @@ declare const VirtualFieldCompact: z.ZodObject<{
365
365
  }>;
366
366
  }, z.core.$loose>], null>]>;
367
367
  name: z.ZodString;
368
- display_name: z.ZodString;
369
368
  table_id: z.ZodString;
369
+ display_name: z.ZodString;
370
370
  base_type: z.ZodEnum<{
371
371
  "type/*": "type/*";
372
372
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -537,9 +537,9 @@ declare const VirtualTable: z.ZodObject<{
537
537
  schema: z.ZodString;
538
538
  description: z.ZodNullable<z.ZodString>;
539
539
  type: z.ZodEnum<{
540
- metric: "metric";
541
- model: "model";
542
540
  question: "question";
541
+ model: "model";
542
+ metric: "metric";
543
543
  }>;
544
544
  moderated_status: z.ZodNullable<z.ZodString>;
545
545
  entity_id: z.ZodNullable<z.ZodString>;
@@ -805,9 +805,9 @@ declare const VirtualTable: z.ZodObject<{
805
805
  type VirtualTable = z.infer<typeof VirtualTable>;
806
806
  declare const VirtualTableCompact: z.ZodObject<{
807
807
  type: z.ZodEnum<{
808
- metric: "metric";
809
- model: "model";
810
808
  question: "question";
809
+ model: "model";
810
+ metric: "metric";
811
811
  }>;
812
812
  id: z.ZodString;
813
813
  description: z.ZodNullable<z.ZodString>;
@@ -908,8 +908,8 @@ declare const VirtualTableCompact: z.ZodObject<{
908
908
  }>;
909
909
  }, z.core.$loose>], null>]>;
910
910
  name: z.ZodString;
911
- display_name: z.ZodString;
912
911
  table_id: z.ZodString;
912
+ display_name: z.ZodString;
913
913
  base_type: z.ZodEnum<{
914
914
  "type/*": "type/*";
915
915
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -1078,15 +1078,37 @@ declare const QueryMetadataTable: z.ZodObject<{
1078
1078
  id: z.ZodNumber;
1079
1079
  name: z.ZodString;
1080
1080
  description: z.ZodNullable<z.ZodString>;
1081
- collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1081
+ caveats: z.ZodNullable<z.ZodString>;
1082
1082
  display_name: z.ZodString;
1083
+ collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1083
1084
  db_id: z.ZodNumber;
1084
1085
  schema: z.ZodNullable<z.ZodString>;
1086
+ entity_type: z.ZodNullable<z.ZodEnum<{
1087
+ "entity/GenericTable": "entity/GenericTable";
1088
+ "entity/UserTable": "entity/UserTable";
1089
+ "entity/CompanyTable": "entity/CompanyTable";
1090
+ "entity/TransactionTable": "entity/TransactionTable";
1091
+ "entity/ProductTable": "entity/ProductTable";
1092
+ "entity/SubscriptionTable": "entity/SubscriptionTable";
1093
+ "entity/EventTable": "entity/EventTable";
1094
+ }>>;
1085
1095
  visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1086
1096
  hidden: "hidden";
1087
1097
  technical: "technical";
1088
1098
  cruft: "cruft";
1089
1099
  }>>>;
1100
+ data_layer: z.ZodNullable<z.ZodEnum<{
1101
+ hidden: "hidden";
1102
+ final: "final";
1103
+ internal: "internal";
1104
+ gold: "gold";
1105
+ silver: "silver";
1106
+ bronze: "bronze";
1107
+ copper: "copper";
1108
+ }>>;
1109
+ estimated_row_count: z.ZodNullable<z.ZodNumber>;
1110
+ active: z.ZodBoolean;
1111
+ is_published: z.ZodOptional<z.ZodBoolean>;
1090
1112
  fields: z.ZodArray<z.ZodObject<{
1091
1113
  id: z.ZodNumber;
1092
1114
  table_id: z.ZodNumber;
@@ -1687,28 +1709,6 @@ declare const QueryMetadataTable: z.ZodObject<{
1687
1709
  position: z.ZodOptional<z.ZodNumber>;
1688
1710
  }, z.core.$loose>>;
1689
1711
  }, z.core.$loose>>;
1690
- active: z.ZodBoolean;
1691
- caveats: z.ZodNullable<z.ZodString>;
1692
- entity_type: z.ZodNullable<z.ZodEnum<{
1693
- "entity/GenericTable": "entity/GenericTable";
1694
- "entity/UserTable": "entity/UserTable";
1695
- "entity/CompanyTable": "entity/CompanyTable";
1696
- "entity/TransactionTable": "entity/TransactionTable";
1697
- "entity/ProductTable": "entity/ProductTable";
1698
- "entity/SubscriptionTable": "entity/SubscriptionTable";
1699
- "entity/EventTable": "entity/EventTable";
1700
- }>>;
1701
- data_layer: z.ZodNullable<z.ZodEnum<{
1702
- internal: "internal";
1703
- hidden: "hidden";
1704
- final: "final";
1705
- gold: "gold";
1706
- silver: "silver";
1707
- bronze: "bronze";
1708
- copper: "copper";
1709
- }>>;
1710
- estimated_row_count: z.ZodNullable<z.ZodNumber>;
1711
- is_published: z.ZodOptional<z.ZodBoolean>;
1712
1712
  }, z.core.$loose>;
1713
1713
  type QueryMetadataTable = z.infer<typeof QueryMetadataTable>;
1714
1714
  declare const QueryMetadata: z.ZodObject<{
@@ -1743,9 +1743,9 @@ declare const QueryMetadata: z.ZodObject<{
1743
1743
  cruft: "cruft";
1744
1744
  }>>>;
1745
1745
  data_layer: z.ZodNullable<z.ZodEnum<{
1746
- internal: "internal";
1747
1746
  hidden: "hidden";
1748
1747
  final: "final";
1748
+ internal: "internal";
1749
1749
  gold: "gold";
1750
1750
  silver: "silver";
1751
1751
  bronze: "bronze";
@@ -2062,9 +2062,9 @@ declare const QueryMetadata: z.ZodObject<{
2062
2062
  schema: z.ZodString;
2063
2063
  description: z.ZodNullable<z.ZodString>;
2064
2064
  type: z.ZodEnum<{
2065
- metric: "metric";
2066
- model: "model";
2067
2065
  question: "question";
2066
+ model: "model";
2067
+ metric: "metric";
2068
2068
  }>;
2069
2069
  moderated_status: z.ZodNullable<z.ZodString>;
2070
2070
  entity_id: z.ZodNullable<z.ZodString>;
@@ -2074,15 +2074,37 @@ declare const QueryMetadata: z.ZodObject<{
2074
2074
  id: z.ZodNumber;
2075
2075
  name: z.ZodString;
2076
2076
  description: z.ZodNullable<z.ZodString>;
2077
- collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2077
+ caveats: z.ZodNullable<z.ZodString>;
2078
2078
  display_name: z.ZodString;
2079
+ collection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2079
2080
  db_id: z.ZodNumber;
2080
2081
  schema: z.ZodNullable<z.ZodString>;
2082
+ entity_type: z.ZodNullable<z.ZodEnum<{
2083
+ "entity/GenericTable": "entity/GenericTable";
2084
+ "entity/UserTable": "entity/UserTable";
2085
+ "entity/CompanyTable": "entity/CompanyTable";
2086
+ "entity/TransactionTable": "entity/TransactionTable";
2087
+ "entity/ProductTable": "entity/ProductTable";
2088
+ "entity/SubscriptionTable": "entity/SubscriptionTable";
2089
+ "entity/EventTable": "entity/EventTable";
2090
+ }>>;
2081
2091
  visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2082
2092
  hidden: "hidden";
2083
2093
  technical: "technical";
2084
2094
  cruft: "cruft";
2085
2095
  }>>>;
2096
+ data_layer: z.ZodNullable<z.ZodEnum<{
2097
+ hidden: "hidden";
2098
+ final: "final";
2099
+ internal: "internal";
2100
+ gold: "gold";
2101
+ silver: "silver";
2102
+ bronze: "bronze";
2103
+ copper: "copper";
2104
+ }>>;
2105
+ estimated_row_count: z.ZodNullable<z.ZodNumber>;
2106
+ active: z.ZodBoolean;
2107
+ is_published: z.ZodOptional<z.ZodBoolean>;
2086
2108
  fields: z.ZodArray<z.ZodObject<{
2087
2109
  id: z.ZodNumber;
2088
2110
  table_id: z.ZodNumber;
@@ -2683,28 +2705,6 @@ declare const QueryMetadata: z.ZodObject<{
2683
2705
  position: z.ZodOptional<z.ZodNumber>;
2684
2706
  }, z.core.$loose>>;
2685
2707
  }, z.core.$loose>>;
2686
- active: z.ZodBoolean;
2687
- caveats: z.ZodNullable<z.ZodString>;
2688
- entity_type: z.ZodNullable<z.ZodEnum<{
2689
- "entity/GenericTable": "entity/GenericTable";
2690
- "entity/UserTable": "entity/UserTable";
2691
- "entity/CompanyTable": "entity/CompanyTable";
2692
- "entity/TransactionTable": "entity/TransactionTable";
2693
- "entity/ProductTable": "entity/ProductTable";
2694
- "entity/SubscriptionTable": "entity/SubscriptionTable";
2695
- "entity/EventTable": "entity/EventTable";
2696
- }>>;
2697
- data_layer: z.ZodNullable<z.ZodEnum<{
2698
- internal: "internal";
2699
- hidden: "hidden";
2700
- final: "final";
2701
- gold: "gold";
2702
- silver: "silver";
2703
- bronze: "bronze";
2704
- copper: "copper";
2705
- }>>;
2706
- estimated_row_count: z.ZodNullable<z.ZodNumber>;
2707
- is_published: z.ZodOptional<z.ZodBoolean>;
2708
2708
  }, z.core.$loose>, z.ZodObject<{
2709
2709
  id: z.ZodString;
2710
2710
  db_id: z.ZodNumber;
@@ -2712,9 +2712,9 @@ declare const QueryMetadata: z.ZodObject<{
2712
2712
  schema: z.ZodString;
2713
2713
  description: z.ZodNullable<z.ZodString>;
2714
2714
  type: z.ZodEnum<{
2715
- metric: "metric";
2716
- model: "model";
2717
2715
  question: "question";
2716
+ model: "model";
2717
+ metric: "metric";
2718
2718
  }>;
2719
2719
  moderated_status: z.ZodNullable<z.ZodString>;
2720
2720
  entity_id: z.ZodNullable<z.ZodString>;
@@ -3305,12 +3305,6 @@ declare const QueryMetadataCompact: z.ZodObject<{
3305
3305
  display_name: z.ZodString;
3306
3306
  db_id: z.ZodNumber;
3307
3307
  schema: z.ZodNullable<z.ZodString>;
3308
- visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3309
- hidden: "hidden";
3310
- technical: "technical";
3311
- cruft: "cruft";
3312
- }>>>;
3313
- active: z.ZodBoolean;
3314
3308
  entity_type: z.ZodNullable<z.ZodEnum<{
3315
3309
  "entity/GenericTable": "entity/GenericTable";
3316
3310
  "entity/UserTable": "entity/UserTable";
@@ -3320,13 +3314,19 @@ declare const QueryMetadataCompact: z.ZodObject<{
3320
3314
  "entity/SubscriptionTable": "entity/SubscriptionTable";
3321
3315
  "entity/EventTable": "entity/EventTable";
3322
3316
  }>>;
3317
+ visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3318
+ hidden: "hidden";
3319
+ technical: "technical";
3320
+ cruft: "cruft";
3321
+ }>>>;
3322
+ active: z.ZodBoolean;
3323
3323
  is_published: z.ZodOptional<z.ZodBoolean>;
3324
3324
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3325
3325
  id: z.ZodNumber;
3326
3326
  name: z.ZodString;
3327
3327
  description: z.ZodNullable<z.ZodString>;
3328
- display_name: z.ZodString;
3329
3328
  table_id: z.ZodNumber;
3329
+ display_name: z.ZodString;
3330
3330
  base_type: z.ZodEnum<{
3331
3331
  "type/*": "type/*";
3332
3332
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -3491,9 +3491,9 @@ declare const QueryMetadataCompact: z.ZodObject<{
3491
3491
  }, z.core.$strip>>>;
3492
3492
  }, z.core.$strip>, z.ZodObject<{
3493
3493
  type: z.ZodEnum<{
3494
- metric: "metric";
3495
- model: "model";
3496
3494
  question: "question";
3495
+ model: "model";
3496
+ metric: "metric";
3497
3497
  }>;
3498
3498
  id: z.ZodString;
3499
3499
  description: z.ZodNullable<z.ZodString>;
@@ -3509,12 +3509,6 @@ declare const QueryMetadataCompact: z.ZodObject<{
3509
3509
  display_name: z.ZodString;
3510
3510
  db_id: z.ZodNumber;
3511
3511
  schema: z.ZodNullable<z.ZodString>;
3512
- visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3513
- hidden: "hidden";
3514
- technical: "technical";
3515
- cruft: "cruft";
3516
- }>>>;
3517
- active: z.ZodBoolean;
3518
3512
  entity_type: z.ZodNullable<z.ZodEnum<{
3519
3513
  "entity/GenericTable": "entity/GenericTable";
3520
3514
  "entity/UserTable": "entity/UserTable";
@@ -3524,13 +3518,19 @@ declare const QueryMetadataCompact: z.ZodObject<{
3524
3518
  "entity/SubscriptionTable": "entity/SubscriptionTable";
3525
3519
  "entity/EventTable": "entity/EventTable";
3526
3520
  }>>;
3521
+ visibility_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3522
+ hidden: "hidden";
3523
+ technical: "technical";
3524
+ cruft: "cruft";
3525
+ }>>>;
3526
+ active: z.ZodBoolean;
3527
3527
  is_published: z.ZodOptional<z.ZodBoolean>;
3528
3528
  fields: z.ZodArray<z.ZodObject<{
3529
3529
  id: z.ZodNumber;
3530
3530
  name: z.ZodString;
3531
3531
  description: z.ZodNullable<z.ZodString>;
3532
- display_name: z.ZodString;
3533
3532
  table_id: z.ZodNumber;
3533
+ display_name: z.ZodString;
3534
3534
  base_type: z.ZodEnum<{
3535
3535
  "type/*": "type/*";
3536
3536
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -3695,9 +3695,9 @@ declare const QueryMetadataCompact: z.ZodObject<{
3695
3695
  }, z.core.$strip>>;
3696
3696
  }, z.core.$strip>, z.ZodObject<{
3697
3697
  type: z.ZodEnum<{
3698
- metric: "metric";
3699
- model: "model";
3700
3698
  question: "question";
3699
+ model: "model";
3700
+ metric: "metric";
3701
3701
  }>;
3702
3702
  id: z.ZodString;
3703
3703
  description: z.ZodNullable<z.ZodString>;
@@ -3798,8 +3798,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
3798
3798
  }>;
3799
3799
  }, z.core.$loose>], null>]>;
3800
3800
  name: z.ZodString;
3801
- display_name: z.ZodString;
3802
3801
  table_id: z.ZodString;
3802
+ display_name: z.ZodString;
3803
3803
  base_type: z.ZodEnum<{
3804
3804
  "type/*": "type/*";
3805
3805
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -3967,8 +3967,8 @@ declare const QueryMetadataCompact: z.ZodObject<{
3967
3967
  id: z.ZodNumber;
3968
3968
  name: z.ZodString;
3969
3969
  description: z.ZodNullable<z.ZodString>;
3970
- display_name: z.ZodString;
3971
3970
  table_id: z.ZodNumber;
3971
+ display_name: z.ZodString;
3972
3972
  base_type: z.ZodEnum<{
3973
3973
  "type/*": "type/*";
3974
3974
  "type/field-values-unsupported": "type/field-values-unsupported";
@@ -1,6 +1,6 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-BsXqRujn.js";
2
- import { o as CardQueryResult } from "./card-BxBzr5Uj.js";
3
- import { r as QueryMetadata, t as CompiledQuery } from "./dataset-BBNGPVec.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
2
+ import { o as CardQueryResult } from "./card-CrSywvOt.js";
3
+ import { r as QueryMetadata, t as CompiledQuery } from "./dataset-cg8ZZrOP.js";
4
4
  import { a as VisualizationSettings, n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
5
5
  //#region src/resources/dataset.d.ts
6
6
  interface DatasetNativeParams {
@@ -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
- import { n as Page, r as PaginateOptions } from "./paginate-COuL0Gzl.js";
4
- import { c as CardType } from "./card-BxBzr5Uj.js";
5
- import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-arB8Cr2H.js";
3
+ import { n as Page, r as PaginateOptions } from "./paginate-CaJ5usdp.js";
4
+ import { c as CardType } from "./card-CrSywvOt.js";
5
+ import { _ as DependentsSortColumn, f as DependencyItemsSortColumn, h as DependencyType } from "./dependency-VqvLTDAU.js";
6
6
  import { i as SortDirection } from "./query-Xsin530u.js";
7
7
  //#region src/resources/dependency.d.ts
8
8
  interface DependencyDependentsParams {
@@ -25,18 +25,18 @@ interface DependencyItemListParams {
25
25
  }
26
26
  type DependencyItemPageOptions = Omit<PaginateOptions, "query">;
27
27
  declare function dependencyResource(transport: Transport): {
28
- graph: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
28
+ graph: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", id: number, options?: RequestOptions | undefined) => Promise<{
29
29
  [x: string]: unknown;
30
30
  nodes: {
31
31
  [x: string]: unknown;
32
32
  id: number;
33
- type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
33
+ type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
34
34
  data: {
35
35
  [x: string]: unknown;
36
36
  name?: string | null | undefined;
37
37
  display_name?: string | null | undefined;
38
38
  description?: string | null | undefined;
39
- type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
39
+ type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
40
40
  display?: string | null | undefined;
41
41
  database_id?: number | null | undefined;
42
42
  db_id?: number | null | undefined;
@@ -75,26 +75,26 @@ declare function dependencyResource(transport: Transport): {
75
75
  } | null | undefined;
76
76
  view_count?: number | null | undefined;
77
77
  };
78
- dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
78
+ dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
79
79
  }[];
80
80
  edges: {
81
81
  [x: string]: unknown;
82
- from_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
82
+ from_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
83
83
  from_entity_id: number;
84
- to_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
84
+ to_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
85
85
  to_entity_id: number;
86
86
  }[];
87
87
  }>;
88
- dependents: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
88
+ dependents: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
89
89
  [x: string]: unknown;
90
90
  id: number;
91
- type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
91
+ type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
92
92
  data: {
93
93
  [x: string]: unknown;
94
94
  name?: string | null | undefined;
95
95
  display_name?: string | null | undefined;
96
96
  description?: string | null | undefined;
97
- type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
97
+ type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
98
98
  display?: string | null | undefined;
99
99
  database_id?: number | null | undefined;
100
100
  db_id?: number | null | undefined;
@@ -133,18 +133,18 @@ declare function dependencyResource(transport: Transport): {
133
133
  } | null | undefined;
134
134
  view_count?: number | null | undefined;
135
135
  };
136
- dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
136
+ dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
137
137
  }>>;
138
- broken: (type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
138
+ broken: (type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
139
139
  [x: string]: unknown;
140
140
  id: number;
141
- type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
141
+ type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
142
142
  data: {
143
143
  [x: string]: unknown;
144
144
  name?: string | null | undefined;
145
145
  display_name?: string | null | undefined;
146
146
  description?: string | null | undefined;
147
- type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
147
+ type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
148
148
  display?: string | null | undefined;
149
149
  database_id?: number | null | undefined;
150
150
  db_id?: number | null | undefined;
@@ -187,13 +187,13 @@ declare function dependencyResource(transport: Transport): {
187
187
  unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
188
188
  [x: string]: unknown;
189
189
  id: number;
190
- type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
190
+ type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
191
191
  data: {
192
192
  [x: string]: unknown;
193
193
  name?: string | null | undefined;
194
194
  display_name?: string | null | undefined;
195
195
  description?: string | null | undefined;
196
- type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
196
+ type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
197
197
  display?: string | null | undefined;
198
198
  database_id?: number | null | undefined;
199
199
  db_id?: number | null | undefined;
@@ -232,18 +232,18 @@ declare function dependencyResource(transport: Transport): {
232
232
  } | null | undefined;
233
233
  view_count?: number | null | undefined;
234
234
  };
235
- dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
235
+ dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
236
236
  }>>;
237
237
  breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
238
238
  [x: string]: unknown;
239
239
  id: number;
240
- type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
240
+ type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
241
241
  data: {
242
242
  [x: string]: unknown;
243
243
  name?: string | null | undefined;
244
244
  display_name?: string | null | undefined;
245
245
  description?: string | null | undefined;
246
- type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
246
+ type?: "question" | "model" | "metric" | "query" | "implicit" | null | undefined;
247
247
  display?: string | null | undefined;
248
248
  database_id?: number | null | undefined;
249
249
  db_id?: number | null | undefined;
@@ -282,15 +282,15 @@ declare function dependencyResource(transport: Transport): {
282
282
  } | null | undefined;
283
283
  view_count?: number | null | undefined;
284
284
  };
285
- dependents_count: Partial<Record<"transform" | "dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "model" | "action" | "sandbox" | "question", number>> | null;
285
+ dependents_count: Partial<Record<"transform" | "question" | "model" | "metric" | "table" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment", number>> | null;
286
286
  dependents_errors?: {
287
287
  [x: string]: unknown;
288
288
  id: number;
289
- analyzed_entity_type: "transform" | "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "action" | "sandbox";
289
+ analyzed_entity_type: "transform" | "table" | "card" | "dashboard" | "snippet" | "document" | "measure" | "action" | "sandbox" | "segment";
290
290
  analyzed_entity_id: number;
291
291
  error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
292
292
  error_detail?: string | null | undefined;
293
- source_entity_type?: "transform" | "card" | "table" | null | undefined;
293
+ source_entity_type?: "transform" | "table" | "card" | null | undefined;
294
294
  source_entity_id?: number | null | undefined;
295
295
  }[] | null | undefined;
296
296
  }>>;