@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,85 +1,85 @@
1
1
  import "./credential-B6fKSvqp.js";
2
2
  import "./oauth-login-SZ4Csai8.js";
3
3
  import "./oauth-session-COLH4puN.js";
4
- import "./session-properties-COtlxAcK.js";
5
- import "./features-SMSfJhB6.js";
4
+ import { t as SessionProperties } from "./session-properties-COtlxAcK.js";
5
+ import "./features-CpR6ZyvS.js";
6
6
  import "./tag-qzjGGci8.js";
7
- import { _ as WaitOptions, f as RequestOptions, g as TransportRequestOptions, h as Transport, n as ClientOptions, t as ClientCredentials, yt as ServerProfile } from "./transport-CyHAGDqx.js";
7
+ import { _ as WaitOptions, f as RequestOptions, g as TransportRequestOptions, h as Transport, l as ProbeReadOptions, n as ClientOptions, t as ClientCredentials, yt as ServerProfile } from "./transport-DZjspEuv.js";
8
8
  import { t as ListResult } from "./list-BT_bBm9Z.js";
9
- import "./requirements-Dx_ZVzl7.js";
10
- import "./requirement-check-Nv0trVbp.js";
11
- import { n as Page } from "./paginate-Du9kUbXZ.js";
9
+ import "./requirements-CGEeSEwC.js";
10
+ import "./requirement-check-DH-EZ8Nx.js";
11
+ import { n as Page } from "./paginate-Bgcj4F03.js";
12
12
  import { a as PollOptions } from "./poll-CIwnee7h.js";
13
- import "./json-DvOVLFVY.js";
13
+ import "./json-BqBfc8w1.js";
14
14
  import { i as CreatedApiKey, r as ApiKeyCreateInput, t as ApiKey } from "./api-key-DJeN1-7G.js";
15
- import { i as CardDetail, l as CardUpdateInput, o as CardQueryResult, r as CardCreateInput, t as Card } from "./card-BBLDmhtp.js";
16
- import { c as CollectionId, g as CollectionTreeNode, i as Collection, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-BtjnSckn.js";
15
+ import { i as CardDetail, l as CardUpdateInput, o as CardQueryResult, r as CardCreateInput, t as Card } from "./card-Dq_X3Ol2.js";
16
+ import { c as CollectionId, g as CollectionTreeNode, i as Collection, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-CyZqHB2n.js";
17
17
  import "./content-translation-zfUkE_OG.js";
18
18
  import "./cron-DThzerR6.js";
19
- import { _ as DashcardDetail, a as DashboardCopyInput, 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";
20
- import { l as DataActionUpdateInput, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult } from "./data-action-DqwcRA7B.js";
21
- import "./data-app-CqP5_fpB.js";
22
- import { o as DatabaseSyncResult, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-DULVEXki.js";
23
- import { r as QueryMetadata, t as CompiledQuery } from "./dataset-Du1GRHhd.js";
24
- import "./dependency-B8aPt_IM.js";
19
+ import { _ as DashcardDetail, a as DashboardCopyInput, m as DashboardUpdateInput, o as DashboardCreateInput, r as DashboardCopy, s as DashboardDetail, t as Dashboard, u as DashboardParameterConstraints, v as DashcardPatchInput } from "./dashboard-5ZMYiLrS.js";
20
+ import { l as DataActionUpdateInput, o as DataActionExecuteInput, r as DataAction, s as DataActionExecuteResult } from "./data-action-DBO2a_Sf.js";
21
+ import "./data-app-CeF4Tazv.js";
22
+ import { o as DatabaseSyncResult, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-C69Mg39B.js";
23
+ import { r as QueryMetadata, t as CompiledQuery } from "./dataset-IbEfvqlT.js";
24
+ import "./dependency-BitZZ45o.js";
25
25
  import { a as DocumentUpdateInput, i as DocumentCreateInput, t as Document } from "./document-rqUlE_OE.js";
26
- import { a as EidTranslateResult, i as EidTranslateInput } from "./eid-translation-CP79Tz71.js";
27
- import "./embedding-oU3gqfgX.js";
26
+ import { a as EidTranslateResult, i as EidTranslateInput } from "./eid-translation-nuhr8St2.js";
27
+ import "./embedding-Cz3RUJYf.js";
28
28
  import "./erd-BdeFEeSy.js";
29
- import { c as FieldRemappedValue, d as FieldSummary, f as FieldUpdateInput, l as FieldSearchMatches, p as FieldValues, s as FieldDetail } from "./field-D-kF3G7v.js";
30
- import "./git-sync-nvbSaNfS.js";
31
- import { i as GlossaryUpdateInput, r as GlossaryCreateInput, t as Glossary } from "./glossary-CHK3elPj.js";
32
- import "./library-B9pEq7qP.js";
29
+ import { c as FieldRemappedValue, d as FieldSummary, f as FieldUpdateInput, l as FieldSearchMatches, p as FieldValues, s as FieldDetail } from "./field-BhqgbKia.js";
30
+ import "./git-sync-_E3O8gGu.js";
31
+ import { i as GlossaryUpdateInput, r as GlossaryCreateInput, t as Glossary } from "./glossary-D2Q66pW3.js";
32
+ import "./library-BihgcDZS.js";
33
33
  import "./measure-CgH14YQZ.js";
34
- import { g as MetricFilterClause, x as MetricMathExpression } from "./metric-BtEVH_Yp.js";
35
- import "./moderation-review-B4RUTZ6_.js";
36
- import { l as NotificationCreateInput, r as Notification, x as NotificationUpdateInput } from "./notification-D1MThyKE.js";
37
- import { s as ParameterValues } from "./parameter-ak-J-IOj.js";
34
+ import { g as MetricFilterClause, x as MetricMathExpression } from "./metric-DXbXFDOk.js";
35
+ import "./moderation-review-B33XQU68.js";
36
+ import { l as NotificationCreateInput, r as Notification, x as NotificationUpdateInput } from "./notification-BY2JEjKp.js";
37
+ import { s as ParameterValues } from "./parameter-YAZEmuDI.js";
38
38
  import { a as PermissionsGraph } from "./permission-BnCQw5Kp.js";
39
- import { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-0LG3K6qO.js";
39
+ import { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-DlEp937s.js";
40
40
  import { n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
41
- import "./replacement-CyvtbxGg.js";
42
- import "./search-BUr4r7d2.js";
41
+ import "./replacement-Bpn3UQWy.js";
42
+ import "./search-VlZ0qE4k.js";
43
43
  import { i as SegmentUpdateInput, r as SegmentCreateInput, t as Segment } from "./segment-CbAgVO-5.js";
44
- import "./revision-Cft5Lcev.js";
44
+ import "./revision-C3d3H6M1.js";
45
45
  import { t as Setting } from "./setting-DXuQGXGF.js";
46
46
  import { n as SetupResult, t as SetupInput } from "./setup-JqcJ2unJ.js";
47
47
  import { i as SnippetUpdateInput, r as SnippetCreateInput, t as Snippet } from "./snippet-C_Ilx7tR.js";
48
- import { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, y as TableQueryMetadata } from "./table-R-q8w__K.js";
49
- import { i as TimelineEvent, l as TimelineUpdateInput, o as TimelineEventCreateInput, r as TimelineCreateInput, s as TimelineEventUpdateInput, t as Timeline } from "./timeline-B35sx1FM.js";
50
- import "./transform-C5thnJwW.js";
51
- import "./transform-dag-run-BgZwv1yx.js";
52
- import "./transform-inspector-BUYBt6--.js";
53
- import "./transform-job-D8jTQtdX.js";
54
- import "./transform-python-DtL3xxMj.js";
48
+ import { S as TableSchemaSyncResult, a as Table, g as TableForeignKey, h as TableFieldValuesResult, y as TableQueryMetadata } from "./table-CYBfgiXd.js";
49
+ import { i as TimelineEvent, l as TimelineUpdateInput, o as TimelineEventCreateInput, r as TimelineCreateInput, s as TimelineEventUpdateInput, t as Timeline } from "./timeline-BdF_aI5F.js";
50
+ import "./transform-DXcm0NVR.js";
51
+ import "./transform-dag-run-BSrdrjaK.js";
52
+ import "./transform-inspector-DMXcBC0h.js";
53
+ import "./transform-job-DHAQGfWg.js";
54
+ import "./transform-python-igNhtjTv.js";
55
55
  import "./transform-tag-C6j5EUkX.js";
56
- import "./transform-test-CeMzDpUC.js";
56
+ import "./transform-test-DpTJm7H7.js";
57
57
  import { r as UploadUpdateResult, t as UploadResult } from "./upload-UPfZFdbH.js";
58
58
  import { t as CurrentUser } from "./user-Sqqv7rqh.js";
59
- import { n as CardListParams, r as CardQueryParams, t as CardExportParams } from "./card-DkHtPMK4.js";
60
- import { i as CollectionTreeParams, n as CollectionItemPageOptions, r as CollectionListParams, t as CollectionItemListParams } from "./collection-DWjkDrln.js";
59
+ import { n as CardListParams, r as CardQueryParams, t as CardExportParams } from "./card-B3vHu_sj.js";
60
+ import { i as CollectionTreeParams, n as CollectionItemPageOptions, r as CollectionListParams, t as CollectionItemListParams } from "./collection-CHEIzIE_.js";
61
61
  import { t as CsvFile } from "./csv-upload--K35QedP.js";
62
- import { r as DashcardCardIssue, t as DashboardListParams } from "./dashboard-B4qWeR10.js";
63
- import { n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "./database-Cw8ICtQi.js";
64
- import { n as DatasetNativeParams, t as DatasetExportParams } from "./dataset-26H-dH4N.js";
65
- import { i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "./dependency-elYkHuk5.js";
66
- import { t as ErdParams } from "./erd-D2fpjDTj.js";
67
- import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, t as FieldRemappingParams } from "./field-awM3Y7IP.js";
68
- import { a as SyncRemoteChangesParams, i as SyncImportParams, n as SyncExportParams, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "./git-sync-8Tk8TirZ.js";
69
- import { t as GlossaryListParams } from "./glossary-CQMSJmIx.js";
70
- import { t as MeasureArchiveParams } from "./measure-D4ArCbsa.js";
71
- import { t as NotificationListParams } from "./notification-BsuPAfMW.js";
72
- import { t as PulseListParams } from "./pulse-drQKS_pg.js";
73
- import { t as ReplacementRunListParams } from "./replacement-g3IKzPPj.js";
74
- import { n as SearchParams, t as SearchPage } from "./search-DX1IVRRC.js";
75
- import { t as SegmentArchiveParams } from "./segment-c2EDEJNd.js";
76
- import { t as SnippetListParams } from "./snippet-CSt-f812.js";
77
- import { t as TableListParams } from "./table-BA-k8Zgt.js";
78
- import { n as TimelineListParams, t as TimelineEventsParams } from "./timeline-D3Clk0_n.js";
79
- import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, r as TransformRunPageParams, t as TransformDagParams } from "./transform-DzgPup_a.js";
80
- import { t as TransformJobRunParams } from "./transform-job-DtLWrsyH.js";
81
- import { t as TransformTestListParams } from "./transform-test-B_HR-yKA.js";
82
- import { t as UploadCsvParams } from "./upload-BSixoElJ.js";
62
+ import { r as DashcardCardIssue, t as DashboardListParams } from "./dashboard-DSuW_p6d.js";
63
+ import { n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "./database-jfZpzZcH.js";
64
+ import { n as DatasetNativeParams, t as DatasetExportParams } from "./dataset-jwm9qB3h.js";
65
+ import { i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "./dependency-BDwZJL_k.js";
66
+ import { t as ErdParams } from "./erd-DqG1DNRX.js";
67
+ import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, t as FieldRemappingParams } from "./field-D84ql2Go.js";
68
+ import { a as SyncRemoteChangesParams, i as SyncImportParams, n as SyncExportParams, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "./git-sync-ClRBckWI.js";
69
+ import { t as GlossaryListParams } from "./glossary-BHhfqyvP.js";
70
+ import { t as MeasureArchiveParams } from "./measure-CO6dcDQ2.js";
71
+ import { t as NotificationListParams } from "./notification-D7X382Y9.js";
72
+ import { t as PulseListParams } from "./pulse-mD_qiUho.js";
73
+ import { t as ReplacementRunListParams } from "./replacement-DIPomAwo.js";
74
+ import { n as SearchParams, t as SearchPage } from "./search-CcMYvNrg.js";
75
+ import { t as SegmentArchiveParams } from "./segment-vL_lWbxX.js";
76
+ import { t as SnippetListParams } from "./snippet-CR3Qw7Vj.js";
77
+ import { t as TableListParams } from "./table-MNH1ybH1.js";
78
+ import { n as TimelineListParams, t as TimelineEventsParams } from "./timeline-DR-yCbB2.js";
79
+ import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, r as TransformRunPageParams, t as TransformDagParams } from "./transform-Dh1ZDOJ7.js";
80
+ import { t as TransformJobRunParams } from "./transform-job-DzP5HoUy.js";
81
+ import { t as TransformTestListParams } from "./transform-test-CPlCdxNq.js";
82
+ import { t as UploadCsvParams } from "./upload-B3qYWIWN.js";
83
83
  //#region src/resources/metric.d.ts
84
84
  interface MetricDimensionListParams {
85
85
  query?: string | undefined;
@@ -272,7 +272,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
272
272
  itemPages: (ref: string | number, params?: CollectionItemListParams | undefined, options?: CollectionItemPageOptions | undefined) => AsyncIterable<Page<{
273
273
  [x: string]: unknown;
274
274
  id: number;
275
- model: "collection" | "card" | "dashboard" | "dataset" | "document" | "metric" | "measure" | "pulse" | "snippet" | "table" | "timeline" | "transform" | "exploration" | "no_models" | "indexed-entity" | "action";
275
+ model: "card" | "collection" | "dashboard" | "dataset" | "document" | "metric" | "measure" | "pulse" | "snippet" | "table" | "timeline" | "transform" | "exploration" | "action" | "indexed-entity" | "no_models";
276
276
  name: string;
277
277
  archived: boolean | null;
278
278
  description?: string | null | undefined;
@@ -377,9 +377,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
377
377
  execute: (id: number, params: DataActionExecuteInput, options?: RequestOptions) => Promise<DataActionExecuteResult>;
378
378
  };
379
379
  dataApp: {
380
- list: (filter?: {
381
- available?: boolean | undefined;
382
- } | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
380
+ list: (options?: RequestOptions | undefined) => Promise<ListResult<{
383
381
  [x: string]: unknown;
384
382
  id: number;
385
383
  name: string;
@@ -417,54 +415,9 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
417
415
  name: string;
418
416
  display_name: string;
419
417
  }>;
420
- create: (params: {
421
- name: string;
422
- display_name?: string | undefined;
423
- description?: string | null | undefined;
424
- version?: number | undefined;
425
- bundle_path?: string | undefined;
426
- allowed_hosts?: string[] | undefined;
427
- enabled?: boolean | undefined;
428
- }, options?: RequestOptions | undefined) => Promise<{
429
- [x: string]: unknown;
430
- id: number;
431
- name: string;
432
- display_name: string;
433
- description: string | null;
434
- version: number;
435
- outdated: boolean;
436
- bundle_path: string;
437
- enabled: boolean;
438
- allowed_hosts: string[];
439
- resource_collection_id: number;
440
- bundle_hash: string | null;
441
- created_at: string;
442
- updated_at: string;
443
- }>;
444
418
  update: (slug: string, params: {
445
- display_name?: string | undefined;
446
- description?: string | null | undefined;
447
- version?: number | undefined;
448
- bundle_path?: string | undefined;
449
- allowed_hosts?: string[] | undefined;
450
- enabled?: boolean | undefined;
451
- }, options?: RequestOptions | undefined) => Promise<{
452
- [x: string]: unknown;
453
- id: number;
454
- name: string;
455
- display_name: string;
456
- description: string | null;
457
- version: number;
458
- outdated: boolean;
459
- bundle_path: string;
460
419
  enabled: boolean;
461
- allowed_hosts: string[];
462
- resource_collection_id: number;
463
- bundle_hash: string | null;
464
- created_at: string;
465
- updated_at: string;
466
- }>;
467
- replaceBundle: (slug: string, bundle: string, options?: RequestOptions | undefined) => Promise<{
420
+ }, options?: RequestOptions | undefined) => Promise<{
468
421
  [x: string]: unknown;
469
422
  id: number;
470
423
  name: string;
@@ -480,8 +433,38 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
480
433
  created_at: string;
481
434
  updated_at: string;
482
435
  }>;
483
- typedSchema: (slug: string, options?: RequestOptions | undefined) => Promise<string>;
484
- delete: (slug: string, options?: RequestOptions | undefined) => Promise<void>;
436
+ generateSchema: (options?: RequestOptions | undefined) => Promise<{
437
+ path: string;
438
+ contents: string;
439
+ }[]>;
440
+ generateQueries: (params: {
441
+ collection: string;
442
+ queries: Record<string, {
443
+ entityId: string;
444
+ query: {
445
+ stages: [{
446
+ [x: string]: unknown;
447
+ }];
448
+ };
449
+ }>;
450
+ }, options?: RequestOptions | undefined) => Promise<{
451
+ path: string;
452
+ contents: string;
453
+ }[]>;
454
+ generateActions: (params: {
455
+ collection: string;
456
+ actions: Record<string, {
457
+ entityId: string;
458
+ kind: "row/create" | "row/update" | "row/delete";
459
+ table: {
460
+ [x: string]: unknown;
461
+ id: number;
462
+ };
463
+ }>;
464
+ }, options?: RequestOptions | undefined) => Promise<{
465
+ path: string;
466
+ contents: string;
467
+ }[]>;
485
468
  };
486
469
  database: {
487
470
  list: (params?: DatabaseListParams, options?: RequestOptions) => Promise<ListResult<Database>>;
@@ -510,7 +493,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
510
493
  name?: string | null | undefined;
511
494
  display_name?: string | null | undefined;
512
495
  description?: string | null | undefined;
513
- type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
496
+ type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
514
497
  display?: string | null | undefined;
515
498
  database_id?: number | null | undefined;
516
499
  db_id?: number | null | undefined;
@@ -549,7 +532,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
549
532
  } | null | undefined;
550
533
  view_count?: number | null | undefined;
551
534
  };
552
- dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
535
+ dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
553
536
  }[];
554
537
  edges: {
555
538
  [x: string]: unknown;
@@ -568,7 +551,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
568
551
  name?: string | null | undefined;
569
552
  display_name?: string | null | undefined;
570
553
  description?: string | null | undefined;
571
- type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
554
+ type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
572
555
  display?: string | null | undefined;
573
556
  database_id?: number | null | undefined;
574
557
  db_id?: number | null | undefined;
@@ -607,7 +590,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
607
590
  } | null | undefined;
608
591
  view_count?: number | null | undefined;
609
592
  };
610
- dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
593
+ dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
611
594
  }>>;
612
595
  broken: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
613
596
  [x: string]: unknown;
@@ -618,7 +601,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
618
601
  name?: string | null | undefined;
619
602
  display_name?: string | null | undefined;
620
603
  description?: string | null | undefined;
621
- type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
604
+ type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
622
605
  display?: string | null | undefined;
623
606
  database_id?: number | null | undefined;
624
607
  db_id?: number | null | undefined;
@@ -667,7 +650,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
667
650
  name?: string | null | undefined;
668
651
  display_name?: string | null | undefined;
669
652
  description?: string | null | undefined;
670
- type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
653
+ type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
671
654
  display?: string | null | undefined;
672
655
  database_id?: number | null | undefined;
673
656
  db_id?: number | null | undefined;
@@ -706,7 +689,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
706
689
  } | null | undefined;
707
690
  view_count?: number | null | undefined;
708
691
  };
709
- dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
692
+ dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
710
693
  }>>;
711
694
  breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
712
695
  [x: string]: unknown;
@@ -717,7 +700,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
717
700
  name?: string | null | undefined;
718
701
  display_name?: string | null | undefined;
719
702
  description?: string | null | undefined;
720
- type?: "query" | "metric" | "model" | "implicit" | "question" | null | undefined;
703
+ type?: "query" | "metric" | "question" | "model" | "implicit" | null | undefined;
721
704
  display?: string | null | undefined;
722
705
  database_id?: number | null | undefined;
723
706
  db_id?: number | null | undefined;
@@ -756,7 +739,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
756
739
  } | null | undefined;
757
740
  view_count?: number | null | undefined;
758
741
  };
759
- dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
742
+ dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "question" | "model" | "action" | "sandbox", number>> | null;
760
743
  dependents_errors?: {
761
744
  [x: string]: unknown;
762
745
  id: number;
@@ -789,14 +772,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
789
772
  text?: string | undefined;
790
773
  attrs?: Record<string, unknown> | undefined;
791
774
  marks?: Record<string, unknown>[] | undefined;
792
- content?: {
793
- [x: string]: unknown;
794
- type: string;
795
- text?: string | undefined;
796
- attrs?: Record<string, unknown> | undefined;
797
- marks?: Record<string, unknown>[] | undefined;
798
- content?: /*elided*/ any[] | undefined;
799
- }[] | undefined;
775
+ content?: /*elided*/ any[] | undefined;
800
776
  } | null;
801
777
  entity_id: string | null;
802
778
  collection_id: number | null;
@@ -1533,7 +1509,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1533
1509
  listRuns: (params?: ReplacementRunListParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
1534
1510
  [x: string]: unknown;
1535
1511
  id: number;
1536
- status: "timeout" | "failed" | "pending" | "started" | "succeeded" | "canceled";
1512
+ status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
1537
1513
  is_active: true | null;
1538
1514
  source_entity_type: "card" | "table" | "transform";
1539
1515
  source_entity_id: number;
@@ -1548,7 +1524,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1548
1524
  getRun: (id: number, options?: RequestOptions | undefined) => Promise<{
1549
1525
  [x: string]: unknown;
1550
1526
  id: number;
1551
- status: "timeout" | "failed" | "pending" | "started" | "succeeded" | "canceled";
1527
+ status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
1552
1528
  is_active: true | null;
1553
1529
  source_entity_type: "card" | "table" | "transform";
1554
1530
  source_entity_id: number;
@@ -1637,6 +1613,9 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1637
1613
  update: (id: number, params: SegmentUpdateInput, options?: RequestOptions) => Promise<Segment>;
1638
1614
  archive: (id: number, params: SegmentArchiveParams, options?: RequestOptions) => Promise<Segment>;
1639
1615
  };
1616
+ session: {
1617
+ properties: (options?: ProbeReadOptions) => Promise<SessionProperties>;
1618
+ };
1640
1619
  setting: {
1641
1620
  list: (options?: RequestOptions) => Promise<ListResult<Setting>>;
1642
1621
  get: (key: string, options?: RequestOptions) => Promise<unknown>;
@@ -1663,7 +1642,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1663
1642
  db_id: number;
1664
1643
  schema: string | null;
1665
1644
  entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
1666
- data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
1645
+ data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
1667
1646
  estimated_row_count: number | null;
1668
1647
  active: boolean;
1669
1648
  visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
@@ -1703,8 +1682,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1703
1682
  show_in_getting_started?: boolean | undefined;
1704
1683
  field_order?: "database" | "custom" | "alphabetical" | "smart" | undefined;
1705
1684
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
1706
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1707
- data_layer?: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
1685
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1686
+ data_layer?: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
1708
1687
  owner_email?: string | null | undefined;
1709
1688
  owner_user_id?: number | null | undefined;
1710
1689
  collection_id?: number | undefined;
@@ -1718,7 +1697,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1718
1697
  db_id: number;
1719
1698
  schema: string | null;
1720
1699
  entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
1721
- data_layer: "internal" | "hidden" | "final" | "gold" | "silver" | "bronze" | "copper" | null;
1700
+ data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
1722
1701
  estimated_row_count: number | null;
1723
1702
  active: boolean;
1724
1703
  visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
@@ -1756,8 +1735,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1756
1735
  schema_ids?: string[] | undefined;
1757
1736
  table_ids?: number[] | undefined;
1758
1737
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
1759
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1760
- data_layer?: "internal" | "hidden" | "final" | null | undefined;
1738
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1739
+ data_layer?: "hidden" | "final" | "internal" | null | undefined;
1761
1740
  entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
1762
1741
  owner_email?: string | null | undefined;
1763
1742
  owner_user_id?: number | null | undefined;
@@ -1767,8 +1746,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1767
1746
  schema_ids?: string[] | undefined;
1768
1747
  table_ids?: number[] | undefined;
1769
1748
  data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
1770
- data_source?: "unknown" | "upload" | "transform" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1771
- data_layer?: "internal" | "hidden" | "final" | null | undefined;
1749
+ data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
1750
+ data_layer?: "hidden" | "final" | "internal" | null | undefined;
1772
1751
  entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
1773
1752
  owner_email?: string | null | undefined;
1774
1753
  owner_user_id?: number | null | undefined;
@@ -1896,7 +1875,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1896
1875
  id: number;
1897
1876
  transform_id: number;
1898
1877
  run_method: "manual" | "cron";
1899
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
1878
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
1900
1879
  start_time: string;
1901
1880
  message: string | null;
1902
1881
  user_id: number | null;
@@ -1977,7 +1956,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
1977
1956
  id: number;
1978
1957
  transform_id: number;
1979
1958
  run_method: "manual" | "cron";
1980
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
1959
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
1981
1960
  start_time: string;
1982
1961
  message: string | null;
1983
1962
  user_id: number | null;
@@ -2127,7 +2106,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2127
2106
  id: number;
2128
2107
  transform_id: number;
2129
2108
  run_method: "manual" | "cron";
2130
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2109
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2131
2110
  start_time: string;
2132
2111
  message: string | null;
2133
2112
  user_id: number | null;
@@ -2277,7 +2256,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2277
2256
  id: number;
2278
2257
  transform_id: number;
2279
2258
  run_method: "manual" | "cron";
2280
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2259
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2281
2260
  start_time: string;
2282
2261
  message: string | null;
2283
2262
  user_id: number | null;
@@ -2360,7 +2339,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2360
2339
  id: number;
2361
2340
  transform_id: number;
2362
2341
  run_method: "manual" | "cron";
2363
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2342
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2364
2343
  start_time: string;
2365
2344
  message: string | null;
2366
2345
  user_id: number | null;
@@ -2374,7 +2353,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2374
2353
  id: number;
2375
2354
  transform_id: number | null;
2376
2355
  run_method: "manual" | "cron";
2377
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2356
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2378
2357
  is_active: boolean | null;
2379
2358
  start_time: string;
2380
2359
  message: string | null;
@@ -2386,7 +2365,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2386
2365
  id: number;
2387
2366
  transform_id: number | null;
2388
2367
  run_method: "manual" | "cron";
2389
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2368
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2390
2369
  is_active: boolean | null;
2391
2370
  start_time: string;
2392
2371
  message: string | null;
@@ -2402,7 +2381,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2402
2381
  direction: "upstream" | "downstream" | null;
2403
2382
  transform_count: number | null;
2404
2383
  run_method: "manual" | "cron" | null;
2405
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2384
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2406
2385
  is_active: boolean | null;
2407
2386
  start_time: string;
2408
2387
  message: string | null;
@@ -2426,7 +2405,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2426
2405
  id: number;
2427
2406
  transform_id: number | null;
2428
2407
  run_method: "manual" | "cron";
2429
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2408
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2430
2409
  is_active: boolean | null;
2431
2410
  start_time: string;
2432
2411
  message: string | null;
@@ -2442,7 +2421,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2442
2421
  id: number;
2443
2422
  transform_id: number | null;
2444
2423
  run_method: "manual" | "cron";
2445
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2424
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2446
2425
  is_active: boolean | null;
2447
2426
  start_time: string;
2448
2427
  message: string | null;
@@ -2548,7 +2527,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2548
2527
  [x: string]: unknown;
2549
2528
  id: string;
2550
2529
  title: string;
2551
- display: "table" | "hidden" | "progress" | "bar" | "row" | "line" | "area" | "pie" | "scalar" | "gauge";
2530
+ display: "table" | "row" | "hidden" | "progress" | "bar" | "line" | "area" | "pie" | "scalar" | "gauge";
2552
2531
  dataset_query: {
2553
2532
  [x: string]: unknown;
2554
2533
  };
@@ -2682,7 +2661,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2682
2661
  id: number;
2683
2662
  job_id: number;
2684
2663
  run_method: "manual" | "cron";
2685
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled";
2664
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
2686
2665
  start_time: string;
2687
2666
  message: string | null;
2688
2667
  created_at: string;
@@ -2712,7 +2691,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2712
2691
  id: number;
2713
2692
  job_id: number;
2714
2693
  run_method: "manual" | "cron";
2715
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled";
2694
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
2716
2695
  start_time: string;
2717
2696
  message: string | null;
2718
2697
  created_at: string;
@@ -2749,7 +2728,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2749
2728
  id: number;
2750
2729
  job_id: number;
2751
2730
  run_method: "manual" | "cron";
2752
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled";
2731
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
2753
2732
  start_time: string;
2754
2733
  message: string | null;
2755
2734
  created_at: string;
@@ -2787,7 +2766,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2787
2766
  id: number;
2788
2767
  job_id: number;
2789
2768
  run_method: "manual" | "cron";
2790
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled";
2769
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
2791
2770
  start_time: string;
2792
2771
  message: string | null;
2793
2772
  created_at: string;
@@ -2878,7 +2857,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
2878
2857
  id: number;
2879
2858
  transform_id: number;
2880
2859
  run_method: "manual" | "cron";
2881
- status: "timeout" | "failed" | "started" | "succeeded" | "canceled" | "canceling";
2860
+ status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
2882
2861
  start_time: string;
2883
2862
  message: string | null;
2884
2863
  user_id: number | null;
@@ -3314,7 +3293,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
3314
3293
  delete: (id: number, options?: RequestOptions | undefined) => Promise<void>;
3315
3294
  run: (id: number, options?: RequestOptions | undefined) => Promise<{
3316
3295
  [x: string]: unknown;
3317
- status: "failed" | "error" | "passed";
3296
+ status: "error" | "failed" | "passed";
3318
3297
  expectations: ({
3319
3298
  [x: string]: unknown;
3320
3299
  name: string;
package/dist/client.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as createClient, t as MetabaseClient } from "./client-eOkt3tTd.js";
1
+ import { n as createClient, t as MetabaseClient } from "./client-DdKXWHXy.js";
2
2
  export { MetabaseClient, createClient };
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as createTransport } from "./transport-HP7cyo9N.js";
1
+ import { r as createTransport } from "./transport-D52WFGBR.js";
2
2
  import { apiKeyResource } from "./resources/api-key.js";
3
3
  import { cardResource } from "./resources/card.js";
4
4
  import { collectionResource } from "./resources/collection.js";
@@ -26,6 +26,7 @@ import { replacementResource } from "./resources/replacement.js";
26
26
  import { revisionResource } from "./resources/revision.js";
27
27
  import { searchResource } from "./resources/search.js";
28
28
  import { segmentResource } from "./resources/segment.js";
29
+ import { sessionResource } from "./resources/session.js";
29
30
  import { settingResource } from "./resources/setting.js";
30
31
  import { setupResource } from "./resources/setup.js";
31
32
  import { snippetResource } from "./resources/snippet.js";
@@ -72,6 +73,7 @@ function createClient(config, options) {
72
73
  revision: revisionResource(transport),
73
74
  search: searchResource(transport),
74
75
  segment: segmentResource(transport),
76
+ session: sessionResource(transport),
75
77
  setting: settingResource(transport),
76
78
  setup: setupResource(transport),
77
79
  snippet: snippetResource(transport),