@metabase/client 0.1.2 → 0.1.4

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 (191) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -2
  3. package/dist/{card-CrSywvOt.d.ts → card-CAOxi3ZU.d.ts} +26 -26
  4. package/dist/{card-CbV6hLYH.d.ts → card-Ik580mDC.d.ts} +3 -3
  5. package/dist/{client-cBi6_RQs.d.ts → client-CQkS1030.d.ts} +117 -116
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +1 -1
  8. package/dist/{collection-Q9FNMiRh.d.ts → collection-B31DGW6J.d.ts} +4 -4
  9. package/dist/{collection-Bmtisr3r.d.ts → collection-kN2oYenF.d.ts} +43 -43
  10. package/dist/{dashboard-DBdEehA9.d.ts → dashboard-Bkl_vs7L.d.ts} +23 -23
  11. package/dist/{dashboard-CknUcTp8.d.ts → dashboard-ClJ5XHXJ.d.ts} +3 -3
  12. package/dist/{data-action-CqqZ0JYg.d.ts → data-action-CCU3lzoY.d.ts} +64 -13
  13. package/dist/data-app-DAEPU9W5.d.ts +111 -0
  14. package/dist/{database-CYNLJ8AZ.d.ts → database-B54owh7H.d.ts} +16 -16
  15. package/dist/{database-Bs5WQOOZ.d.ts → database-DNQLCRBJ.d.ts} +3 -3
  16. package/dist/{dataset-cg8ZZrOP.d.ts → dataset-Bj3bNqjm.d.ts} +71 -71
  17. package/dist/{dataset-dzWljE_C.d.ts → dataset-C05pNRjH.d.ts} +3 -3
  18. package/dist/{dependency-VqvLTDAU.d.ts → dependency-B8aPt_IM.d.ts} +163 -163
  19. package/dist/{dependency-CL-YG9KH.d.ts → dependency-NbXbo_fE.d.ts} +25 -25
  20. package/dist/{document-tLd6pYWe.d.ts → document-rqUlE_OE.d.ts} +1 -1
  21. package/dist/domain/card.d.ts +1 -1
  22. package/dist/domain/collection.d.ts +1 -1
  23. package/dist/domain/dashboard.d.ts +1 -1
  24. package/dist/domain/data-action.d.ts +2 -2
  25. package/dist/domain/data-action.js +43 -10
  26. package/dist/domain/data-app.d.ts +2 -2
  27. package/dist/domain/data-app.js +27 -14
  28. package/dist/domain/database.d.ts +1 -1
  29. package/dist/domain/dataset.d.ts +1 -1
  30. package/dist/domain/dependency.d.ts +1 -1
  31. package/dist/domain/document.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/library.d.ts +1 -1
  37. package/dist/domain/metric.d.ts +1 -1
  38. package/dist/domain/moderation-review.d.ts +1 -1
  39. package/dist/domain/notification.d.ts +1 -1
  40. package/dist/domain/parameter.d.ts +1 -1
  41. package/dist/domain/pulse.d.ts +1 -1
  42. package/dist/domain/replacement.d.ts +1 -1
  43. package/dist/domain/revision.d.ts +1 -1
  44. package/dist/domain/search.d.ts +1 -1
  45. package/dist/domain/table.d.ts +1 -1
  46. package/dist/domain/timeline.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-python.d.ts +1 -1
  50. package/dist/domain/transform-test.d.ts +2 -2
  51. package/dist/domain/transform-test.js +5 -1
  52. package/dist/domain/transform.d.ts +1 -1
  53. package/dist/{eid-translation-aQSffx0o.d.ts → eid-translation-CP79Tz71.d.ts} +40 -40
  54. package/dist/{embedding-Cz3RUJYf.d.ts → embedding-oU3gqfgX.d.ts} +1 -1
  55. package/dist/{erd-DCgdEC2S.d.ts → erd-BJ3OjckY.d.ts} +1 -1
  56. package/dist/{errors-DdMlaXqq.js → errors-D5mjCJCW.js} +12 -4
  57. package/dist/errors.d.ts +1 -1
  58. package/dist/{features-SMSfJhB6.d.ts → features-BwC2QUQB.d.ts} +4 -0
  59. package/dist/{field-ozrfbvUd.d.ts → field-Be27Kzlx.d.ts} +2 -2
  60. package/dist/{field-tqQPtVuR.d.ts → field-CCp65II7.d.ts} +3 -3
  61. package/dist/{git-sync-5lFWX1ds.d.ts → git-sync-CBplEGj0.d.ts} +1 -1
  62. package/dist/{git-sync-QL9Nu6gP.d.ts → git-sync-D1gts9j5.d.ts} +8 -8
  63. package/dist/{glossary-DwS7QVrl.d.ts → glossary-yuKOTBXb.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 +37 -37
  70. package/dist/index.js +6 -6
  71. package/dist/{input-gates-DwKoTJVQ.d.ts → input-gates-DLCSnwRf.d.ts} +1 -1
  72. package/dist/{json-DwGOvRtS.d.ts → json-DK8ntK_m.d.ts} +1 -1
  73. package/dist/json.d.ts +1 -1
  74. package/dist/{library-B9pEq7qP.d.ts → library-DZpIRTeG.d.ts} +2 -2
  75. package/dist/{measure-CInoXeyH.d.ts → measure-DZ7RmNPs.d.ts} +1 -1
  76. package/dist/{metric-CYOmbcM5.d.ts → metric-CKhTot_B.d.ts} +9 -9
  77. package/dist/{moderation-review-CWUQ3_HL.d.ts → moderation-review-B4RUTZ6_.d.ts} +4 -4
  78. package/dist/{notification-D-Hp82Pn.d.ts → notification-BwLEwNk9.d.ts} +2 -2
  79. package/dist/{notification-BY2JEjKp.d.ts → notification-D1MThyKE.d.ts} +2 -2
  80. package/dist/{paginate-CaJ5usdp.d.ts → paginate-CPjKDJ2m.d.ts} +1 -1
  81. package/dist/paginate.d.ts +1 -1
  82. package/dist/{parameter-BYo7uR-J.d.ts → parameter-CvyXRH6F.d.ts} +4 -4
  83. package/dist/{pulse-BUlfrJZH.d.ts → pulse-BgS7Y3MU.d.ts} +20 -20
  84. package/dist/{pulse-BTpSNxhT.d.ts → pulse-DEKvyd8u.d.ts} +2 -2
  85. package/dist/{refusal-B9aeHMc9.js → refusal-CvN0pxPR.js} +1 -1
  86. package/dist/{replacement-BQian4vA.d.ts → replacement-Bu4qxOua.d.ts} +17 -17
  87. package/dist/{replacement-Dbtvvrmz.d.ts → replacement-WU_rk924.d.ts} +9 -9
  88. package/dist/{requirement-check-CHHEHXcj.d.ts → requirement-check-B5tsY6Z_.d.ts} +2 -2
  89. package/dist/{requirements-Dx_ZVzl7.d.ts → requirements-CW0DsGzZ.d.ts} +4 -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 +22 -4
  99. package/dist/resources/data-action.js +11 -6
  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 +10 -3
  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 +3 -3
  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/setting.d.ts +1 -1
  137. package/dist/resources/setup.d.ts +1 -1
  138. package/dist/resources/snippet.d.ts +1 -1
  139. package/dist/resources/table.d.ts +1 -1
  140. package/dist/resources/table.js +1 -1
  141. package/dist/resources/timeline-event.d.ts +2 -2
  142. package/dist/resources/timeline.d.ts +1 -1
  143. package/dist/resources/transform-dag-run.d.ts +1 -1
  144. package/dist/resources/transform-dag-run.js +1 -1
  145. package/dist/resources/transform-inspector.d.ts +4 -4
  146. package/dist/resources/transform-inspector.js +1 -1
  147. package/dist/resources/transform-job.d.ts +1 -1
  148. package/dist/resources/transform-job.js +1 -1
  149. package/dist/resources/transform-python.d.ts +1 -1
  150. package/dist/resources/transform-python.js +1 -1
  151. package/dist/resources/transform-tag.d.ts +1 -1
  152. package/dist/resources/transform-tag.js +1 -1
  153. package/dist/resources/transform-test.d.ts +1 -1
  154. package/dist/resources/transform-test.js +1 -1
  155. package/dist/resources/transform.d.ts +1 -1
  156. package/dist/resources/transform.js +1 -1
  157. package/dist/resources/upload.d.ts +1 -1
  158. package/dist/resources/user.d.ts +1 -1
  159. package/dist/{revision-DNEw6S93.d.ts → revision-CwP4-eqv.d.ts} +5 -5
  160. package/dist/{search-tK5lmRb8.d.ts → search-C0PiFw8c.d.ts} +24 -24
  161. package/dist/{search-BQWkdVg1.d.ts → search-DjJ_lu_o.d.ts} +2 -2
  162. package/dist/{segment-jyhBtOAZ.d.ts → segment-BR0OAdWN.d.ts} +1 -1
  163. package/dist/signal.d.ts +1 -1
  164. package/dist/{snippet-DsgohpTV.d.ts → snippet-C5naeVEd.d.ts} +1 -1
  165. package/dist/{table-BAl8aPZZ.d.ts → table-B3lazUvH.d.ts} +28 -28
  166. package/dist/{table-B1pQSpTA.d.ts → table-DT3kO7JU.d.ts} +9 -9
  167. package/dist/{timeline-BfX1lMob.d.ts → timeline-Bnn28jC7.d.ts} +21 -21
  168. package/dist/{timeline-BdLvwRnl.d.ts → timeline-vJHDIuDJ.d.ts} +2 -2
  169. package/dist/{transform-DwnIcpqV.d.ts → transform-B0mugBQQ.d.ts} +1 -1
  170. package/dist/{transform-Ds74yPiY.d.ts → transform-Buv3VvTt.d.ts} +3 -3
  171. package/dist/{transform-inspector-BMaRqcRM.d.ts → transform-inspector-BUYBt6--.d.ts} +8 -8
  172. package/dist/{transform-job-C85GxBHj.d.ts → transform-job-BFLbsf5-.d.ts} +1 -1
  173. package/dist/{transform-job-Dfp9Ox0l.d.ts → transform-job-DV28hc1A.d.ts} +2 -2
  174. package/dist/{transform-python-DtL3xxMj.d.ts → transform-python-B-jBoeVa.d.ts} +1 -1
  175. package/dist/{transform-test-C3hiZ4AV.d.ts → transform-test-3uuvuwyQ.d.ts} +1 -1
  176. package/dist/{transform-test-DROPvrkI.d.ts → transform-test-DpTJm7H7.d.ts} +2 -1
  177. package/dist/{transport-CS11mEqI.d.ts → transport-CM-eJat3.d.ts} +7 -3
  178. package/dist/{transport-HP7cyo9N.js → transport-D52WFGBR.js} +1 -1
  179. package/dist/{upload-Bx1D7eNy.d.ts → upload-BxRCvpJo.d.ts} +1 -1
  180. package/dist/version/capability-error.d.ts +1 -1
  181. package/dist/version/capability-error.js +1 -1
  182. package/dist/version/features.d.ts +1 -1
  183. package/dist/version/features.js +1 -0
  184. package/dist/version/input-gates.d.ts +1 -1
  185. package/dist/version/probe.d.ts +1 -1
  186. package/dist/version/profile.d.ts +1 -1
  187. package/dist/version/requirement-check.d.ts +1 -1
  188. package/dist/version/requirements.d.ts +1 -1
  189. package/dist/version/requirements.js +3 -4
  190. package/package.json +1 -1
  191. package/dist/data-app-MoMS9VUr.d.ts +0 -76
@@ -1,14 +1,14 @@
1
1
  import { z } from "zod";
2
2
  //#region src/domain/timeline.d.ts
3
3
  declare const TimelineIcon: z.ZodEnum<{
4
+ info: "info";
5
+ warning: "warning";
4
6
  star: "star";
5
7
  cake: "cake";
6
8
  mail: "mail";
7
9
  mail_at: "mail_at";
8
- warning: "warning";
9
10
  bell: "bell";
10
11
  cloud: "cloud";
11
- info: "info";
12
12
  note: "note";
13
13
  event: "event";
14
14
  }>;
@@ -21,14 +21,14 @@ declare const TimelineEvent: z.ZodObject<{
21
21
  timezone: z.ZodString;
22
22
  time_matters: z.ZodBoolean;
23
23
  icon: z.ZodEnum<{
24
+ info: "info";
25
+ warning: "warning";
24
26
  star: "star";
25
27
  cake: "cake";
26
28
  mail: "mail";
27
29
  mail_at: "mail_at";
28
- warning: "warning";
29
30
  bell: "bell";
30
31
  cloud: "cloud";
31
- info: "info";
32
32
  note: "note";
33
33
  event: "event";
34
34
  }>;
@@ -46,14 +46,14 @@ declare const TimelineEventCompact: z.ZodObject<{
46
46
  archived: z.ZodBoolean;
47
47
  timestamp: z.ZodString;
48
48
  icon: z.ZodEnum<{
49
+ info: "info";
50
+ warning: "warning";
49
51
  star: "star";
50
52
  cake: "cake";
51
53
  mail: "mail";
52
54
  mail_at: "mail_at";
53
- warning: "warning";
54
55
  bell: "bell";
55
56
  cloud: "cloud";
56
- info: "info";
57
57
  note: "note";
58
58
  event: "event";
59
59
  }>;
@@ -65,14 +65,14 @@ declare const Timeline: z.ZodObject<{
65
65
  name: z.ZodString;
66
66
  description: z.ZodNullable<z.ZodString>;
67
67
  icon: z.ZodEnum<{
68
+ info: "info";
69
+ warning: "warning";
68
70
  star: "star";
69
71
  cake: "cake";
70
72
  mail: "mail";
71
73
  mail_at: "mail_at";
72
- warning: "warning";
73
74
  bell: "bell";
74
75
  cloud: "cloud";
75
- info: "info";
76
76
  note: "note";
77
77
  event: "event";
78
78
  }>;
@@ -91,14 +91,14 @@ declare const Timeline: z.ZodObject<{
91
91
  timezone: z.ZodString;
92
92
  time_matters: z.ZodBoolean;
93
93
  icon: z.ZodEnum<{
94
+ info: "info";
95
+ warning: "warning";
94
96
  star: "star";
95
97
  cake: "cake";
96
98
  mail: "mail";
97
99
  mail_at: "mail_at";
98
- warning: "warning";
99
100
  bell: "bell";
100
101
  cloud: "cloud";
101
- info: "info";
102
102
  note: "note";
103
103
  event: "event";
104
104
  }>;
@@ -111,21 +111,21 @@ declare const Timeline: z.ZodObject<{
111
111
  }, z.core.$loose>;
112
112
  type Timeline = z.infer<typeof Timeline>;
113
113
  declare const TimelineCompact: z.ZodObject<{
114
+ default: z.ZodBoolean;
114
115
  id: z.ZodNumber;
115
116
  name: z.ZodString;
116
117
  description: z.ZodNullable<z.ZodString>;
117
118
  archived: z.ZodBoolean;
118
- default: z.ZodBoolean;
119
119
  collection_id: z.ZodNullable<z.ZodNumber>;
120
120
  icon: z.ZodEnum<{
121
+ info: "info";
122
+ warning: "warning";
121
123
  star: "star";
122
124
  cake: "cake";
123
125
  mail: "mail";
124
126
  mail_at: "mail_at";
125
- warning: "warning";
126
127
  bell: "bell";
127
128
  cloud: "cloud";
128
- info: "info";
129
129
  note: "note";
130
130
  event: "event";
131
131
  }>;
@@ -135,14 +135,14 @@ declare const TimelineCreateInput: z.ZodObject<{
135
135
  name: z.ZodString;
136
136
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
137
  icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
138
+ info: "info";
139
+ warning: "warning";
138
140
  star: "star";
139
141
  cake: "cake";
140
142
  mail: "mail";
141
143
  mail_at: "mail_at";
142
- warning: "warning";
143
144
  bell: "bell";
144
145
  cloud: "cloud";
145
- info: "info";
146
146
  note: "note";
147
147
  event: "event";
148
148
  }>>>;
@@ -154,14 +154,14 @@ declare const TimelineUpdateInput: z.ZodObject<{
154
154
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
155
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
156
  icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
157
+ info: "info";
158
+ warning: "warning";
157
159
  star: "star";
158
160
  cake: "cake";
159
161
  mail: "mail";
160
162
  mail_at: "mail_at";
161
- warning: "warning";
162
163
  bell: "bell";
163
164
  cloud: "cloud";
164
- info: "info";
165
165
  note: "note";
166
166
  event: "event";
167
167
  }>>>;
@@ -178,14 +178,14 @@ declare const TimelineEventCreateInput: z.ZodObject<{
178
178
  timeline_id: z.ZodNumber;
179
179
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
180
  icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
181
+ info: "info";
182
+ warning: "warning";
181
183
  star: "star";
182
184
  cake: "cake";
183
185
  mail: "mail";
184
186
  mail_at: "mail_at";
185
- warning: "warning";
186
187
  bell: "bell";
187
188
  cloud: "cloud";
188
- info: "info";
189
189
  note: "note";
190
190
  event: "event";
191
191
  }>>>;
@@ -199,14 +199,14 @@ declare const TimelineEventUpdateInput: z.ZodObject<{
199
199
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
200
  time_matters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
201
201
  icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
202
+ info: "info";
203
+ warning: "warning";
202
204
  star: "star";
203
205
  cake: "cake";
204
206
  mail: "mail";
205
207
  mail_at: "mail_at";
206
- warning: "warning";
207
208
  bell: "bell";
208
209
  cloud: "cloud";
209
- info: "info";
210
210
  note: "note";
211
211
  event: "event";
212
212
  }>>>;
@@ -1,6 +1,6 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CM-eJat3.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
- import { i as TimelineEvent, l as TimelineUpdateInput, r as TimelineCreateInput, t as Timeline } from "./timeline-BfX1lMob.js";
3
+ import { i as TimelineEvent, l as TimelineUpdateInput, r as TimelineCreateInput, t as Timeline } from "./timeline-Bnn28jC7.js";
4
4
  //#region src/resources/timeline.d.ts
5
5
  interface TimelineListParams {
6
6
  archived?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import { o as Features } from "./features-SMSfJhB6.js";
1
+ import { o as Features } from "./features-BwC2QUQB.js";
2
2
  import { z } from "zod";
3
3
  //#region src/domain/transform.d.ts
4
4
  declare const TransformRunStatus: z.ZodEnum<{
@@ -1,9 +1,9 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CM-eJat3.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
- import { n as Page, r as PaginateOptions } from "./paginate-CaJ5usdp.js";
3
+ import { n as Page, r as PaginateOptions } from "./paginate-CPjKDJ2m.js";
4
4
  import { a as PollOptions } from "./poll-CIwnee7h.js";
5
5
  import { i as SortDirection } from "./query-Xsin530u.js";
6
- import { d as TransformRunStatus, h as TransformRunSummaryType, i as TransformDagDirection, l as TransformRunMethod, m as TransformRunSummarySortColumn } from "./transform-DwnIcpqV.js";
6
+ import { d as TransformRunStatus, h as TransformRunSummaryType, i as TransformDagDirection, l as TransformRunMethod, m as TransformRunSummarySortColumn } from "./transform-B0mugBQQ.js";
7
7
  //#region src/resources/transform.d.ts
8
8
  interface TransformRunParams {
9
9
  /** Poll the run to a terminal status. Without it the call returns once the run is queued. */
@@ -148,9 +148,9 @@ type TransformInspection = z.infer<typeof TransformInspection>;
148
148
  declare const LensCardDisplay: z.ZodEnum<{
149
149
  table: "table";
150
150
  hidden: "hidden";
151
- row: "row";
152
151
  progress: "progress";
153
152
  bar: "bar";
153
+ row: "row";
154
154
  line: "line";
155
155
  area: "area";
156
156
  pie: "pie";
@@ -166,8 +166,8 @@ declare const LensCardMetadata: z.ZodObject<{
166
166
  depends_on_cards: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
167
  group_id: z.ZodOptional<z.ZodString>;
168
168
  group_role: z.ZodOptional<z.ZodEnum<{
169
- input: "input";
170
169
  output: "output";
170
+ input: "input";
171
171
  }>>;
172
172
  group_order: z.ZodOptional<z.ZodNumber>;
173
173
  card_type: z.ZodOptional<z.ZodString>;
@@ -180,9 +180,9 @@ declare const LensCard: z.ZodObject<{
180
180
  display: z.ZodEnum<{
181
181
  table: "table";
182
182
  hidden: "hidden";
183
- row: "row";
184
183
  progress: "progress";
185
184
  bar: "bar";
185
+ row: "row";
186
186
  line: "line";
187
187
  area: "area";
188
188
  pie: "pie";
@@ -198,8 +198,8 @@ declare const LensCard: z.ZodObject<{
198
198
  depends_on_cards: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
199
  group_id: z.ZodOptional<z.ZodString>;
200
200
  group_role: z.ZodOptional<z.ZodEnum<{
201
- input: "input";
202
201
  output: "output";
202
+ input: "input";
203
203
  }>>;
204
204
  group_order: z.ZodOptional<z.ZodNumber>;
205
205
  card_type: z.ZodOptional<z.ZodString>;
@@ -223,8 +223,8 @@ declare const LensAlertTrigger: z.ZodObject<{
223
223
  }, z.core.$loose>;
224
224
  severity: z.ZodEnum<{
225
225
  error: "error";
226
- warning: "warning";
227
226
  info: "info";
227
+ warning: "warning";
228
228
  }>;
229
229
  message: z.ZodString;
230
230
  metadata: z.ZodOptional<z.ZodObject<{
@@ -291,9 +291,9 @@ declare const TransformLens: z.ZodObject<{
291
291
  display: z.ZodEnum<{
292
292
  table: "table";
293
293
  hidden: "hidden";
294
- row: "row";
295
294
  progress: "progress";
296
295
  bar: "bar";
296
+ row: "row";
297
297
  line: "line";
298
298
  area: "area";
299
299
  pie: "pie";
@@ -309,8 +309,8 @@ declare const TransformLens: z.ZodObject<{
309
309
  depends_on_cards: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
310
  group_id: z.ZodOptional<z.ZodString>;
311
311
  group_role: z.ZodOptional<z.ZodEnum<{
312
- input: "input";
313
312
  output: "output";
313
+ input: "input";
314
314
  }>>;
315
315
  group_order: z.ZodOptional<z.ZodNumber>;
316
316
  card_type: z.ZodOptional<z.ZodString>;
@@ -336,8 +336,8 @@ declare const TransformLens: z.ZodObject<{
336
336
  }, z.core.$loose>;
337
337
  severity: z.ZodEnum<{
338
338
  error: "error";
339
- warning: "warning";
340
339
  info: "info";
340
+ warning: "warning";
341
341
  }>;
342
342
  message: z.ZodString;
343
343
  metadata: z.ZodOptional<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CM-eJat3.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
3
  //#region src/resources/transform-job.d.ts
4
4
  interface TransformJobRunParams {
@@ -1,5 +1,5 @@
1
- import { o as Features } from "./features-SMSfJhB6.js";
2
- import { r as InputGate } from "./input-gates-DwKoTJVQ.js";
1
+ import { o as Features } from "./features-BwC2QUQB.js";
2
+ import { r as InputGate } from "./input-gates-DLCSnwRf.js";
3
3
  import { z } from "zod";
4
4
  //#region src/domain/transform-job.d.ts
5
5
  declare const TransformJob: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { o as Features } from "./features-SMSfJhB6.js";
1
+ import { o as Features } from "./features-BwC2QUQB.js";
2
2
  import { z } from "zod";
3
3
  //#region src/domain/transform-python.d.ts
4
4
  declare const PythonLibrary: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CM-eJat3.js";
2
2
  import { t as ListResult } from "./list-BT_bBm9Z.js";
3
3
  //#region src/resources/transform-test.d.ts
4
4
  interface TransformTestListParams {
@@ -342,5 +342,6 @@ declare const TransformTestRefusalCode: z.ZodEnum<{
342
342
  }>;
343
343
  type TransformTestRefusalCode = z.infer<typeof TransformTestRefusalCode>;
344
344
  declare function isTransformTestRefusalCode(value: string): value is TransformTestRefusalCode;
345
+ declare function isTransformTestCode(value: string): boolean;
345
346
  //#endregion
346
- export { TransformTestExpectation as a, TransformTestRefusalCode as c, TransformTestRunResult as d, TransformTestTable as f, TransformTestCreateInput as i, TransformTestResultColumn as l, isTransformTestRefusalCode as m, TransformTestColumn as n, TransformTestExpectationResult as o, TransformTestUpdateInput as p, TransformTestCompact as r, TransformTestInput as s, TransformTest as t, TransformTestRow as u };
347
+ export { TransformTestExpectation as a, TransformTestRefusalCode as c, TransformTestRunResult as d, TransformTestTable as f, isTransformTestRefusalCode as h, TransformTestCreateInput as i, TransformTestResultColumn as l, isTransformTestCode as m, TransformTestColumn as n, TransformTestExpectationResult as o, TransformTestUpdateInput as p, TransformTestCompact as r, TransformTestInput as s, TransformTest as t, TransformTestRow as u };
@@ -1,6 +1,6 @@
1
1
  import { a as Credential, o as CredentialRefresher } from "./credential-B6fKSvqp.js";
2
2
  import { n as TokenFeatures, t as SessionProperties } from "./session-properties-COtlxAcK.js";
3
- import { i as FeatureName, r as FeatureGap } from "./features-SMSfJhB6.js";
3
+ import { i as FeatureName, r as FeatureGap } from "./features-BwC2QUQB.js";
4
4
  import { i as ServerVersion, n as Edition } from "./tag-qzjGGci8.js";
5
5
  import { ZodError, ZodType, z } from "zod";
6
6
  //#region src/version/probe.d.ts
@@ -29,10 +29,10 @@ declare function profileFromProperties(properties: SessionProperties): ServerPro
29
29
  //#endregion
30
30
  //#region src/version/profile.d.ts
31
31
  declare const Skew: z.ZodEnum<{
32
+ development: "development";
32
33
  supported: "supported";
33
34
  "older-than-known": "older-than-known";
34
35
  "newer-than-known": "newer-than-known";
35
- development: "development";
36
36
  }>;
37
37
  type Skew = z.infer<typeof Skew>;
38
38
  declare const ServerProfile: z.ZodObject<{
@@ -58,6 +58,7 @@ declare const ServerProfile: z.ZodObject<{
58
58
  dataApps: "dataApps";
59
59
  transforms: "transforms";
60
60
  transformJobActivation: "transformJobActivation";
61
+ builtInTransformJobsStartInactive: "builtInTransformJobsStartInactive";
61
62
  measures: "measures";
62
63
  collectionItemMeasures: "collectionItemMeasures";
63
64
  explorations: "explorations";
@@ -115,10 +116,10 @@ declare const ServerProfile: z.ZodObject<{
115
116
  exportCsvByteOrderMark: "exportCsvByteOrderMark";
116
117
  }>, z.ZodBoolean>;
117
118
  skew: z.ZodEnum<{
119
+ development: "development";
118
120
  supported: "supported";
119
121
  "older-than-known": "older-than-known";
120
122
  "newer-than-known": "newer-than-known";
121
- development: "development";
122
123
  }>;
123
124
  }, z.core.$strip>;
124
125
  type ServerProfile = z.infer<typeof ServerProfile>;
@@ -294,6 +295,7 @@ interface HttpErrorDetail {
294
295
  errorCode: string | null;
295
296
  nonRemoteSyncedDependencies: number[] | null;
296
297
  remoteSyncedDependents: RemoteSyncedDependent[] | null;
298
+ tables: string[] | null;
297
299
  }
298
300
  interface HttpErrorInput {
299
301
  status: number;
@@ -319,6 +321,7 @@ declare class HttpError extends MetabaseError {
319
321
  get errorCode(): string | null;
320
322
  get nonRemoteSyncedDependencies(): number[] | null;
321
323
  get remoteSyncedDependents(): RemoteSyncedDependent[] | null;
324
+ get tables(): string[] | null;
322
325
  }
323
326
  declare function isHttpNotFound(error: unknown): boolean;
324
327
  declare function chainRequestFailure(cause: MetabaseError, message: string): MetabaseError;
@@ -344,6 +347,7 @@ declare const RequirementFailure: z.ZodObject<{
344
347
  dataApps: "dataApps";
345
348
  transforms: "transforms";
346
349
  transformJobActivation: "transformJobActivation";
350
+ builtInTransformJobsStartInactive: "builtInTransformJobsStartInactive";
347
351
  measures: "measures";
348
352
  collectionItemMeasures: "collectionItemMeasures";
349
353
  explorations: "explorations";
@@ -3,7 +3,7 @@ import { NetworkError, ResponseShapeError, TimeoutError, ValidationError, errorM
3
3
  import { JSON_CONTENT_TYPE, parseJson } from "./json.js";
4
4
  import { combineAborts, throwIfAborted, untilAborted } from "./signal.js";
5
5
  import { normalizeUrl } from "./url.js";
6
- import { a as HttpError, p as isRetryableStatus } from "./errors-DdMlaXqq.js";
6
+ import { a as HttpError, p as isRetryableStatus } from "./errors-D5mjCJCW.js";
7
7
  import { CapabilityError } from "./version/capability-error.js";
8
8
  import { createServerProfile } from "./version/profile.js";
9
9
  import { PROBE_PATH, probeBudget, serverInfoFromProperties } from "./version/probe.js";
@@ -1,4 +1,4 @@
1
- import { f as RequestOptions, h as Transport } from "./transport-CS11mEqI.js";
1
+ import { f as RequestOptions, h as Transport } from "./transport-CM-eJat3.js";
2
2
  import { t as UploadResult } from "./upload-UPfZFdbH.js";
3
3
  import { t as CsvFile } from "./csv-upload--K35QedP.js";
4
4
  //#region src/resources/upload.d.ts
@@ -1,2 +1,2 @@
1
- import { C as versionTooOldMessage, S as missingTokenFeatureMessage, b as RequirementFailure, x as RequirementReason, y as CapabilityError } from "../transport-CS11mEqI.js";
1
+ import { C as versionTooOldMessage, S as missingTokenFeatureMessage, b as RequirementFailure, x as RequirementReason, y as CapabilityError } from "../transport-CM-eJat3.js";
2
2
  export { CapabilityError, RequirementFailure, RequirementReason, missingTokenFeatureMessage, versionTooOldMessage };
@@ -1,5 +1,5 @@
1
1
  import { MetabaseError } from "../errors.js";
2
- import "../errors-DdMlaXqq.js";
2
+ import "../errors-D5mjCJCW.js";
3
3
  import { FEATURE_NAMES } from "./features.js";
4
4
  import { z } from "zod";
5
5
  //#region src/version/capability-error.ts
@@ -1,2 +1,2 @@
1
- import { a as FeatureRule, c as TokenGap, d as featureAvailability, f as isFeatureName, i as FeatureName, l as VersionGap, n as FEATURE_RULES, o as Features, p as ruleGap, r as FeatureGap, s as RuleMajor, t as FEATURE_NAMES, u as evaluateFeatures } from "../features-SMSfJhB6.js";
1
+ import { a as FeatureRule, c as TokenGap, d as featureAvailability, f as isFeatureName, i as FeatureName, l as VersionGap, n as FEATURE_RULES, o as Features, p as ruleGap, r as FeatureGap, s as RuleMajor, t as FEATURE_NAMES, u as evaluateFeatures } from "../features-BwC2QUQB.js";
2
2
  export { FEATURE_NAMES, FEATURE_RULES, FeatureGap, FeatureName, FeatureRule, Features, RuleMajor, TokenGap, VersionGap, evaluateFeatures, featureAvailability, isFeatureName, ruleGap };
@@ -10,6 +10,7 @@ const FEATURE_RULES = {
10
10
  },
11
11
  transforms: { since: 59 },
12
12
  transformJobActivation: { since: 61 },
13
+ builtInTransformJobsStartInactive: { since: 65 },
13
14
  measures: { since: 59 },
14
15
  collectionItemMeasures: { since: 61 },
15
16
  explorations: { since: 65 },
@@ -1,2 +1,2 @@
1
- import { a as PresentTrigger, c as inputGatesOf, i as NonEmptyTrigger, n as GateTrigger, o as ValuesTrigger, r as InputGate, s as gateTriggered, t as GateEffect } from "../input-gates-DwKoTJVQ.js";
1
+ import { a as PresentTrigger, c as inputGatesOf, i as NonEmptyTrigger, n as GateTrigger, o as ValuesTrigger, r as InputGate, s as gateTriggered, t as GateEffect } from "../input-gates-DLCSnwRf.js";
2
2
  export { GateEffect, GateTrigger, InputGate, NonEmptyTrigger, PresentTrigger, ValuesTrigger, gateTriggered, inputGatesOf };
@@ -1,2 +1,2 @@
1
- import { At as profileFromProperties, Ct as PROBE_PATH, Dt as ServerInfo, Et as ProbeOptions, Ot as probeBudget, Tt as ProbeBudget, jt as serverInfoFromProperties, kt as probeServer, wt as PROBE_TIMEOUT_MS } from "../transport-CS11mEqI.js";
1
+ import { At as profileFromProperties, Ct as PROBE_PATH, Dt as ServerInfo, Et as ProbeOptions, Ot as probeBudget, Tt as ProbeBudget, jt as serverInfoFromProperties, kt as probeServer, wt as PROBE_TIMEOUT_MS } from "../transport-CM-eJat3.js";
2
2
  export { PROBE_PATH, PROBE_TIMEOUT_MS, ProbeBudget, ProbeOptions, ServerInfo, probeBudget, probeServer, profileFromProperties, serverInfoFromProperties };
@@ -1,2 +1,2 @@
1
- import { St as featureGap, bt as Skew, xt as createServerProfile, yt as ServerProfile } from "../transport-CS11mEqI.js";
1
+ import { St as featureGap, bt as Skew, xt as createServerProfile, yt as ServerProfile } from "../transport-CM-eJat3.js";
2
2
  export { ServerProfile, Skew, createServerProfile, featureGap };
@@ -1,2 +1,2 @@
1
- import { n as featureFailures, r as supersedingFeature, t as checkFeatures } from "../requirement-check-CHHEHXcj.js";
1
+ import { n as featureFailures, r as supersedingFeature, t as checkFeatures } from "../requirement-check-B5tsY6Z_.js";
2
2
  export { checkFeatures, featureFailures, supersedingFeature };
@@ -1,2 +1,2 @@
1
- import { a as methodRequirements, i as isMethodKey, n as METHOD_REQUIREMENTS, r as MethodKey, t as METHOD_KEYS } from "../requirements-Dx_ZVzl7.js";
1
+ import { a as methodRequirements, i as isMethodKey, n as METHOD_REQUIREMENTS, r as MethodKey, t as METHOD_KEYS } from "../requirements-CW0DsGzZ.js";
2
2
  export { METHOD_KEYS, METHOD_REQUIREMENTS, MethodKey, isMethodKey, methodRequirements };
@@ -39,11 +39,10 @@ const METHOD_REQUIREMENTS = {
39
39
  "dataAction.execute": [],
40
40
  "dataApp.list": ["dataApps"],
41
41
  "dataApp.get": ["dataApps"],
42
- "dataApp.create": ["dataApps"],
43
42
  "dataApp.update": ["dataApps"],
44
- "dataApp.replaceBundle": ["dataApps"],
45
- "dataApp.typedSchema": ["dataApps"],
46
- "dataApp.delete": ["dataApps"],
43
+ "dataApp.generateSchema": ["dataApps"],
44
+ "dataApp.generateQueries": ["dataApps"],
45
+ "dataApp.generateActions": ["dataApps"],
47
46
  "database.list": [],
48
47
  "database.get": [],
49
48
  "database.update": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metabase/client",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Metabase API client",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -1,76 +0,0 @@
1
- import { z } from "zod";
2
- //#region src/domain/data-app.d.ts
3
- declare const DataAppSlug: z.ZodString;
4
- declare const DataApp: z.ZodObject<{
5
- id: z.ZodNumber;
6
- name: z.ZodString;
7
- display_name: z.ZodString;
8
- description: z.ZodNullable<z.ZodString>;
9
- version: z.ZodNumber;
10
- outdated: z.ZodBoolean;
11
- bundle_path: z.ZodString;
12
- enabled: z.ZodBoolean;
13
- allowed_hosts: z.ZodArray<z.ZodString>;
14
- resource_collection_id: z.ZodNumber;
15
- bundle_hash: z.ZodNullable<z.ZodString>;
16
- created_at: z.ZodString;
17
- updated_at: z.ZodString;
18
- }, z.core.$loose>;
19
- type DataApp = z.infer<typeof DataApp>;
20
- declare const DataAppSummary: z.ZodObject<{
21
- name: z.ZodString;
22
- display_name: z.ZodString;
23
- }, z.core.$strict>;
24
- type DataAppSummary = z.infer<typeof DataAppSummary>;
25
- declare const DataAppEntry: z.ZodUnion<readonly [z.ZodObject<{
26
- id: z.ZodNumber;
27
- name: z.ZodString;
28
- display_name: z.ZodString;
29
- description: z.ZodNullable<z.ZodString>;
30
- version: z.ZodNumber;
31
- outdated: z.ZodBoolean;
32
- bundle_path: z.ZodString;
33
- enabled: z.ZodBoolean;
34
- allowed_hosts: z.ZodArray<z.ZodString>;
35
- resource_collection_id: z.ZodNumber;
36
- bundle_hash: z.ZodNullable<z.ZodString>;
37
- created_at: z.ZodString;
38
- updated_at: z.ZodString;
39
- }, z.core.$loose>, z.ZodObject<{
40
- name: z.ZodString;
41
- display_name: z.ZodString;
42
- }, z.core.$strict>]>;
43
- type DataAppEntry = z.infer<typeof DataAppEntry>;
44
- declare const DataAppCompact: z.ZodObject<{
45
- name: z.ZodString;
46
- display_name: z.ZodString;
47
- enabled: z.ZodOptional<z.ZodBoolean>;
48
- outdated: z.ZodOptional<z.ZodBoolean>;
49
- resource_collection_id: z.ZodOptional<z.ZodNumber>;
50
- }, z.core.$strip>;
51
- type DataAppCompact = z.infer<typeof DataAppCompact>;
52
- declare const DataAppListFilter: z.ZodObject<{
53
- available: z.ZodOptional<z.ZodBoolean>;
54
- }, z.core.$strict>;
55
- type DataAppListFilter = z.infer<typeof DataAppListFilter>;
56
- declare const DataAppCreateInput: z.ZodObject<{
57
- display_name: z.ZodOptional<z.ZodString>;
58
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- version: z.ZodOptional<z.ZodNumber>;
60
- bundle_path: z.ZodOptional<z.ZodString>;
61
- allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
- enabled: z.ZodOptional<z.ZodBoolean>;
63
- name: z.ZodString;
64
- }, z.core.$strict>;
65
- type DataAppCreateInput = z.infer<typeof DataAppCreateInput>;
66
- declare const DataAppUpdateInput: z.ZodObject<{
67
- display_name: z.ZodOptional<z.ZodString>;
68
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- version: z.ZodOptional<z.ZodNumber>;
70
- bundle_path: z.ZodOptional<z.ZodString>;
71
- allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
- enabled: z.ZodOptional<z.ZodBoolean>;
73
- }, z.core.$strict>;
74
- type DataAppUpdateInput = z.infer<typeof DataAppUpdateInput>;
75
- //#endregion
76
- export { DataAppListFilter as a, DataAppUpdateInput as c, DataAppEntry as i, DataAppCompact as n, DataAppSlug as o, DataAppCreateInput as r, DataAppSummary as s, DataApp as t };