@metabase/client 0.1.0 → 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.
- package/CHANGELOG.md +25 -0
- package/README.md +10 -6
- package/dist/api-key-DJeN1-7G.d.ts +46 -0
- package/dist/auth/credential.d.ts +1 -1
- package/dist/auth/oauth-login.d.ts +1 -1
- package/dist/auth/oauth-login.js +1 -1
- package/dist/auth/oauth-session.d.ts +1 -1
- package/dist/{card-BZx4NSr-.d.ts → card-CbV6hLYH.d.ts} +4 -4
- package/dist/{card-B6merEUN.d.ts → card-CrSywvOt.d.ts} +18 -18
- package/dist/{client-DNRvXFRm.d.ts → client-cBi6_RQs.d.ts} +289 -185
- package/dist/client.d.ts +1 -1
- package/dist/client.js +4 -0
- package/dist/{collection-Bib61WiV.d.ts → collection-Bmtisr3r.d.ts} +47 -47
- package/dist/{collection-CqtGPi4W.d.ts → collection-Q9FNMiRh.d.ts} +18 -4
- package/dist/{credential-6aOEGqMH.d.ts → credential-B6fKSvqp.d.ts} +1 -1
- package/dist/{dashboard-XTe46250.d.ts → dashboard-CknUcTp8.d.ts} +3 -3
- package/dist/{dashboard-z9i1VUZC.d.ts → dashboard-DBdEehA9.d.ts} +33 -25
- package/dist/{data-action-rS27f2Ji.d.ts → data-action-CqqZ0JYg.d.ts} +6 -4
- package/dist/data-app-MoMS9VUr.d.ts +76 -0
- package/dist/{database-DqTespfa.d.ts → database-Bs5WQOOZ.d.ts} +3 -3
- package/dist/{database-BLUMlywE.d.ts → database-CYNLJ8AZ.d.ts} +18 -18
- package/dist/{dataset-C6lX1-cr.d.ts → dataset-cg8ZZrOP.d.ts} +85 -85
- package/dist/{dataset-Cj3XuKLe.d.ts → dataset-dzWljE_C.d.ts} +3 -3
- package/dist/{dependency-fN5_7a22.d.ts → dependency-CL-YG9KH.d.ts} +26 -26
- package/dist/{dependency-D8Qs5Xdx.d.ts → dependency-VqvLTDAU.d.ts} +248 -196
- package/dist/{document-oZNDbDfx.d.ts → document-tLd6pYWe.d.ts} +2 -2
- package/dist/domain/api-key.d.ts +2 -0
- package/dist/domain/api-key.js +31 -0
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/dashboard.d.ts +2 -2
- package/dist/domain/dashboard.js +21 -4
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +8 -2
- package/dist/domain/data-app.d.ts +2 -0
- package/dist/domain/data-app.js +52 -0
- package/dist/domain/database.d.ts +1 -1
- package/dist/domain/dataset.d.ts +1 -1
- package/dist/domain/dependency.d.ts +1 -1
- package/dist/domain/dependency.js +6 -3
- package/dist/domain/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/field.d.ts +2 -2
- package/dist/domain/field.js +8 -2
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/library.d.ts +2 -2
- package/dist/domain/library.js +8 -2
- package/dist/domain/measure.d.ts +1 -1
- package/dist/domain/measure.js +3 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/moderation-review.d.ts +1 -1
- package/dist/domain/notification.d.ts +2 -2
- package/dist/domain/notification.js +6 -1
- package/dist/domain/parameter.d.ts +1 -1
- package/dist/domain/pulse.d.ts +2 -2
- package/dist/domain/pulse.js +10 -3
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +2 -2
- package/dist/domain/revision.js +29 -2
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/segment.d.ts +1 -1
- package/dist/domain/segment.js +3 -1
- package/dist/domain/setup.d.ts +1 -1
- package/dist/domain/setup.js +1 -1
- package/dist/domain/snippet.d.ts +1 -1
- package/dist/domain/table.d.ts +2 -2
- package/dist/domain/table.js +35 -4
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-dag-run.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +2 -2
- package/dist/domain/transform-job.js +8 -2
- package/dist/domain/transform-python.d.ts +2 -2
- package/dist/domain/transform-python.js +15 -3
- package/dist/domain/transform-tag.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +1 -1
- package/dist/domain/transform.d.ts +2 -2
- package/dist/domain/transform.js +76 -7
- package/dist/domain/user.d.ts +1 -1
- package/dist/domain/user.js +1 -1
- package/dist/{eid-translation-nuhr8St2.d.ts → eid-translation-aQSffx0o.d.ts} +40 -40
- package/dist/{erd-BujD227Y.d.ts → erd-DCgdEC2S.d.ts} +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/{features-CnFkUCj2.d.ts → features-SMSfJhB6.d.ts} +36 -2
- package/dist/{field-Bqn10Fq_.d.ts → field-ozrfbvUd.d.ts} +2 -2
- package/dist/{field-BCRO19mk.d.ts → field-tqQPtVuR.d.ts} +9 -7
- package/dist/{git-sync-gAMKsZgN.d.ts → git-sync-5lFWX1ds.d.ts} +3 -3
- package/dist/{git-sync-DNXrNVCW.d.ts → git-sync-QL9Nu6gP.d.ts} +10 -10
- package/dist/{glossary-CqFlzW33.d.ts → glossary-DwS7QVrl.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/oauth.d.ts +1 -1
- package/dist/http/oauth.js +47 -36
- package/dist/http/transport.d.ts +1 -1
- package/dist/index.d.ts +48 -46
- package/dist/index.js +8 -6
- package/dist/input-gate-registry-Dai7SfXb.js +14 -0
- package/dist/input-gates-DwKoTJVQ.d.ts +28 -0
- package/dist/{json-CZvjc3--.d.ts → json-DwGOvRtS.d.ts} +1 -1
- package/dist/json-pointer.d.ts +2 -1
- package/dist/json-pointer.js +4 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-Cx9h_RkU.d.ts → library-B9pEq7qP.d.ts} +8 -6
- package/dist/{measure-CuMqPbQX.d.ts → measure-CInoXeyH.d.ts} +1 -1
- package/dist/{measure-KuXdjZYJ.d.ts → measure-CgH14YQZ.d.ts} +1 -1
- package/dist/{metric-yvehaVCS.d.ts → metric-CYOmbcM5.d.ts} +10 -10
- package/dist/{moderation-review-B4RUTZ6_.d.ts → moderation-review-CWUQ3_HL.d.ts} +4 -4
- package/dist/{notification-BT2TDAd_.d.ts → notification-BY2JEjKp.d.ts} +68 -4
- package/dist/{notification-BiegPoSD.d.ts → notification-D-Hp82Pn.d.ts} +3 -3
- package/dist/{oauth-C4ordeoJ.d.ts → oauth-CVoZpuq8.d.ts} +4 -2
- package/dist/{oauth-login-D734Jvbq.js → oauth-login--tDagiZu.js} +29 -11
- package/dist/{oauth-login-CJsT_3EE.d.ts → oauth-login-SZ4Csai8.d.ts} +3 -2
- package/dist/{oauth-session-BlIlcd8Q.d.ts → oauth-session-COLH4puN.d.ts} +1 -1
- package/dist/{paginate-DZWvWvbm.d.ts → paginate-CaJ5usdp.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-ak-J-IOj.d.ts → parameter-BYo7uR-J.d.ts} +2 -2
- package/dist/{pulse-dylocLd9.d.ts → pulse-BTpSNxhT.d.ts} +2 -2
- package/dist/{pulse-CMc1Rwdj.d.ts → pulse-BUlfrJZH.d.ts} +23 -21
- package/dist/{replacement-CyvtbxGg.d.ts → replacement-BQian4vA.d.ts} +23 -23
- package/dist/{replacement-S9U3gApY.d.ts → replacement-Dbtvvrmz.d.ts} +11 -11
- package/dist/{requirement-check-CIA5IHC1.d.ts → requirement-check-CHHEHXcj.d.ts} +2 -2
- package/dist/{requirements-C0txASN8.d.ts → requirements-Dx_ZVzl7.d.ts} +11 -1
- package/dist/resources/api-key.d.ts +11 -0
- package/dist/resources/api-key.js +35 -0
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +35 -6
- package/dist/resources/content-translation.d.ts +1 -1
- package/dist/resources/content-translation.js +1 -1
- package/dist/resources/dashboard.d.ts +1 -1
- package/dist/resources/dashboard.js +8 -5
- package/dist/resources/data-action.d.ts +3 -48
- package/dist/resources/data-action.js +9 -9
- package/dist/resources/data-app.d.ts +112 -0
- package/dist/resources/data-app.js +75 -0
- package/dist/resources/database.d.ts +1 -1
- package/dist/resources/dataset.d.ts +1 -1
- package/dist/resources/dependency.d.ts +1 -1
- package/dist/resources/dependency.js +13 -7
- package/dist/resources/document.d.ts +3 -10
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/field.js +3 -2
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +1 -1
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +4 -4
- package/dist/resources/library.js +2 -2
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/notification.d.ts +1 -1
- package/dist/resources/notification.js +2 -2
- package/dist/resources/optional-parsed.d.ts +1 -1
- package/dist/resources/permission.d.ts +1 -1
- package/dist/resources/pivot-export.d.ts +1 -1
- package/dist/resources/pulse.d.ts +1 -1
- package/dist/resources/pulse.js +3 -2
- package/dist/resources/replacement.d.ts +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/revision.js +5 -10
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +23 -2
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +2 -2
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/table.js +9 -10
- package/dist/resources/timeline-event.d.ts +2 -2
- package/dist/resources/timeline.d.ts +1 -1
- package/dist/resources/transform-dag-run.d.ts +2 -2
- package/dist/resources/transform-inspector.d.ts +4 -4
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-python.d.ts +11 -4
- package/dist/resources/transform-python.js +3 -2
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/transform.js +13 -3
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +2 -2
- package/dist/{revision-CQBPhohA.d.ts → revision-DNEw6S93.d.ts} +7 -5
- package/dist/{search-BxJipLN6.d.ts → search-BQWkdVg1.d.ts} +2 -2
- package/dist/{search-NZR6iRBs.d.ts → search-tK5lmRb8.d.ts} +23 -23
- package/dist/{segment-pj3wklGe.d.ts → segment-CbAgVO-5.d.ts} +1 -1
- package/dist/{segment-D2i34X9l.d.ts → segment-jyhBtOAZ.d.ts} +2 -2
- package/dist/{setup-Ez_U7GmM.d.ts → setup-JqcJ2unJ.d.ts} +1 -1
- package/dist/signal.d.ts +3 -2
- package/dist/signal.js +9 -4
- package/dist/{snippet-hEV429Pv.d.ts → snippet-C_Ilx7tR.d.ts} +2 -2
- package/dist/{snippet-RnnWa4TL.d.ts → snippet-DsgohpTV.d.ts} +2 -2
- package/dist/{table-B_lfuaHc.d.ts → table-B1pQSpTA.d.ts} +14 -14
- package/dist/{table-B3-UaPHa.d.ts → table-BAl8aPZZ.d.ts} +49 -44
- package/dist/{timeline-C2IEcRlP.d.ts → timeline-BdLvwRnl.d.ts} +2 -2
- package/dist/{timeline-folD3mQ_.d.ts → timeline-BfX1lMob.d.ts} +24 -24
- package/dist/{transform-CXOT5kFe.d.ts → transform-Ds74yPiY.d.ts} +48 -34
- package/dist/{transform-CDurgE1D.d.ts → transform-DwnIcpqV.d.ts} +153 -37
- package/dist/{transform-dag-run-BgZwv1yx.d.ts → transform-dag-run-BSrdrjaK.d.ts} +4 -4
- package/dist/{transform-inspector-BUYBt6--.d.ts → transform-inspector-BMaRqcRM.d.ts} +8 -8
- package/dist/{transform-job-29P6BULe.d.ts → transform-job-C85GxBHj.d.ts} +9 -9
- package/dist/{transform-job-CTJImaOd.d.ts → transform-job-Dfp9Ox0l.d.ts} +7 -5
- package/dist/{transform-python-DdDnW6yK.d.ts → transform-python-DtL3xxMj.d.ts} +49 -4
- package/dist/{transform-tag-DVUIZTEM.d.ts → transform-tag-C6j5EUkX.d.ts} +1 -1
- package/dist/{transform-test-A-CJYT6B.d.ts → transform-test-C3hiZ4AV.d.ts} +2 -2
- package/dist/{transform-test-BwuyrHpT.d.ts → transform-test-DROPvrkI.d.ts} +2 -2
- package/dist/{transport-E0ZaPNWJ.d.ts → transport-CS11mEqI.d.ts} +20 -6
- package/dist/{upload-B7PG3ePk.d.ts → upload-Bx1D7eNy.d.ts} +1 -1
- package/dist/{user-2r0OBoO6.d.ts → user-Sqqv7rqh.d.ts} +2 -2
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/features.d.ts +2 -2
- package/dist/version/features.js +30 -2
- package/dist/version/input-gates.d.ts +2 -0
- package/dist/version/input-gates.js +13 -0
- package/dist/version/probe.d.ts +1 -1
- package/dist/version/profile.d.ts +1 -1
- package/dist/version/requirement-check.d.ts +1 -1
- package/dist/version/requirements.d.ts +1 -1
- package/dist/version/requirements.js +10 -0
- package/package.json +3 -2
|
@@ -1,83 +1,85 @@
|
|
|
1
|
-
import "./credential-
|
|
2
|
-
import "./oauth-login-
|
|
3
|
-
import "./oauth-session-
|
|
4
|
-
import { i as CardDetail, l as CardUpdateInput, o as CardQueryResult, r as CardCreateInput, t as Card } from "./card-B6merEUN.js";
|
|
5
|
-
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-C6lX1-cr.js";
|
|
6
|
-
import { n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
|
|
1
|
+
import "./credential-B6fKSvqp.js";
|
|
2
|
+
import "./oauth-login-SZ4Csai8.js";
|
|
3
|
+
import "./oauth-session-COLH4puN.js";
|
|
7
4
|
import "./session-properties-COtlxAcK.js";
|
|
8
|
-
import "./features-
|
|
5
|
+
import "./features-SMSfJhB6.js";
|
|
9
6
|
import "./tag-qzjGGci8.js";
|
|
10
|
-
import { _ as WaitOptions, f as RequestOptions, g as TransportRequestOptions, h as Transport, n as ClientOptions, t as ClientCredentials, yt as ServerProfile } from "./transport-
|
|
7
|
+
import { _ as WaitOptions, f as RequestOptions, g as TransportRequestOptions, h as Transport, n as ClientOptions, t as ClientCredentials, yt as ServerProfile } from "./transport-CS11mEqI.js";
|
|
11
8
|
import { t as ListResult } from "./list-BT_bBm9Z.js";
|
|
12
|
-
import
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import { n as Page } from "./paginate-DZWvWvbm.js";
|
|
9
|
+
import "./requirements-Dx_ZVzl7.js";
|
|
10
|
+
import "./requirement-check-CHHEHXcj.js";
|
|
11
|
+
import { n as Page } from "./paginate-CaJ5usdp.js";
|
|
16
12
|
import { a as PollOptions } from "./poll-CIwnee7h.js";
|
|
17
|
-
import "./json-
|
|
18
|
-
import {
|
|
13
|
+
import "./json-DwGOvRtS.js";
|
|
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-CrSywvOt.js";
|
|
16
|
+
import { c as CollectionId, g as CollectionTreeNode, i as Collection, s as CollectionCreateInput, v as CollectionUpdateInput } from "./collection-Bmtisr3r.js";
|
|
19
17
|
import "./content-translation-zfUkE_OG.js";
|
|
20
18
|
import "./cron-DThzerR6.js";
|
|
21
|
-
import { _ as
|
|
22
|
-
import { a as
|
|
23
|
-
import
|
|
24
|
-
import "./
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
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-DBdEehA9.js";
|
|
20
|
+
import { a as DataActionExecuteInput, c as DataActionUpdateInput, n as DataAction, o as DataActionExecuteResult } from "./data-action-CqqZ0JYg.js";
|
|
21
|
+
import "./data-app-MoMS9VUr.js";
|
|
22
|
+
import { o as DatabaseSyncResult, s as DatabaseUpdateInput, t as Database, u as DatabaseWithSettings } from "./database-CYNLJ8AZ.js";
|
|
23
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-cg8ZZrOP.js";
|
|
24
|
+
import "./dependency-VqvLTDAU.js";
|
|
25
|
+
import { a as DocumentUpdateInput, i as DocumentCreateInput, t as Document } from "./document-tLd6pYWe.js";
|
|
26
|
+
import { a as EidTranslateResult, i as EidTranslateInput } from "./eid-translation-aQSffx0o.js";
|
|
27
27
|
import "./embedding-Cz3RUJYf.js";
|
|
28
28
|
import "./erd-BdeFEeSy.js";
|
|
29
|
-
import { c as
|
|
30
|
-
import "./git-sync-
|
|
29
|
+
import { c as FieldRemappedValue, d as FieldSummary, f as FieldUpdateInput, l as FieldSearchMatches, p as FieldValues, s as FieldDetail } from "./field-tqQPtVuR.js";
|
|
30
|
+
import "./git-sync-QL9Nu6gP.js";
|
|
31
31
|
import { i as GlossaryUpdateInput, r as GlossaryCreateInput, t as Glossary } from "./glossary-CHK3elPj.js";
|
|
32
|
-
import "./library-
|
|
33
|
-
import "./measure-
|
|
34
|
-
import { g as MetricFilterClause, x as MetricMathExpression } from "./metric-
|
|
35
|
-
import "./moderation-review-
|
|
36
|
-
import {
|
|
37
|
-
import { s as ParameterValues } from "./parameter-
|
|
32
|
+
import "./library-B9pEq7qP.js";
|
|
33
|
+
import "./measure-CgH14YQZ.js";
|
|
34
|
+
import { g as MetricFilterClause, x as MetricMathExpression } from "./metric-CYOmbcM5.js";
|
|
35
|
+
import "./moderation-review-CWUQ3_HL.js";
|
|
36
|
+
import { l as NotificationCreateInput, r as Notification, x as NotificationUpdateInput } from "./notification-BY2JEjKp.js";
|
|
37
|
+
import { s as ParameterValues } from "./parameter-BYo7uR-J.js";
|
|
38
38
|
import { a as PermissionsGraph } from "./permission-BnCQw5Kp.js";
|
|
39
|
-
import { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import
|
|
43
|
-
import "./
|
|
39
|
+
import { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-BUlfrJZH.js";
|
|
40
|
+
import { n as ExportFormat, t as DatasetQuery } from "./query-Xsin530u.js";
|
|
41
|
+
import "./replacement-BQian4vA.js";
|
|
42
|
+
import "./search-tK5lmRb8.js";
|
|
43
|
+
import { i as SegmentUpdateInput, r as SegmentCreateInput, t as Segment } from "./segment-CbAgVO-5.js";
|
|
44
|
+
import "./revision-DNEw6S93.js";
|
|
44
45
|
import { t as Setting } from "./setting-DXuQGXGF.js";
|
|
45
|
-
import { n as SetupResult, t as SetupInput } from "./setup-
|
|
46
|
-
import { i as SnippetUpdateInput, r as SnippetCreateInput, t as Snippet } from "./snippet-
|
|
47
|
-
import {
|
|
48
|
-
import { i as TimelineEvent, l as TimelineUpdateInput, o as TimelineEventCreateInput, r as TimelineCreateInput, s as TimelineEventUpdateInput, t as Timeline } from "./timeline-
|
|
49
|
-
import "./transform-
|
|
50
|
-
import "./transform-dag-run-
|
|
51
|
-
import "./transform-inspector-
|
|
52
|
-
import "./transform-job-
|
|
53
|
-
import "./transform-python-
|
|
54
|
-
import "./transform-tag-
|
|
55
|
-
import "./transform-test-
|
|
46
|
+
import { n as SetupResult, t as SetupInput } from "./setup-JqcJ2unJ.js";
|
|
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-BAl8aPZZ.js";
|
|
49
|
+
import { i as TimelineEvent, l as TimelineUpdateInput, o as TimelineEventCreateInput, r as TimelineCreateInput, s as TimelineEventUpdateInput, t as Timeline } from "./timeline-BfX1lMob.js";
|
|
50
|
+
import "./transform-DwnIcpqV.js";
|
|
51
|
+
import "./transform-dag-run-BSrdrjaK.js";
|
|
52
|
+
import "./transform-inspector-BMaRqcRM.js";
|
|
53
|
+
import "./transform-job-Dfp9Ox0l.js";
|
|
54
|
+
import "./transform-python-DtL3xxMj.js";
|
|
55
|
+
import "./transform-tag-C6j5EUkX.js";
|
|
56
|
+
import "./transform-test-DROPvrkI.js";
|
|
56
57
|
import { r as UploadUpdateResult, t as UploadResult } from "./upload-UPfZFdbH.js";
|
|
57
|
-
import { t as CurrentUser } from "./user-
|
|
58
|
-
import {
|
|
58
|
+
import { t as CurrentUser } from "./user-Sqqv7rqh.js";
|
|
59
|
+
import { n as CardListParams, r as CardQueryParams, t as CardExportParams } from "./card-CbV6hLYH.js";
|
|
60
|
+
import { i as CollectionTreeParams, n as CollectionItemPageOptions, r as CollectionListParams, t as CollectionItemListParams } from "./collection-Q9FNMiRh.js";
|
|
59
61
|
import { t as CsvFile } from "./csv-upload--K35QedP.js";
|
|
60
|
-
import { r as DashcardCardIssue, t as DashboardListParams } from "./dashboard-
|
|
61
|
-
import { n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "./database-
|
|
62
|
-
import { n as DatasetNativeParams, t as DatasetExportParams } from "./dataset-
|
|
63
|
-
import { i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "./dependency-
|
|
64
|
-
import { t as ErdParams } from "./erd-
|
|
65
|
-
import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, t as FieldRemappingParams } from "./field-
|
|
66
|
-
import { a as SyncRemoteChangesParams, i as SyncImportParams, n as SyncExportParams, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "./git-sync-
|
|
67
|
-
import { t as GlossaryListParams } from "./glossary-
|
|
68
|
-
import { t as MeasureArchiveParams } from "./measure-
|
|
69
|
-
import { t as NotificationListParams } from "./notification-
|
|
70
|
-
import { t as PulseListParams } from "./pulse-
|
|
71
|
-
import { t as ReplacementRunListParams } from "./replacement-
|
|
72
|
-
import { n as SearchParams, t as SearchPage } from "./search-
|
|
73
|
-
import { t as SegmentArchiveParams } from "./segment-
|
|
74
|
-
import { t as SnippetListParams } from "./snippet-
|
|
75
|
-
import { t as TableListParams } from "./table-
|
|
76
|
-
import { n as TimelineListParams, t as TimelineEventsParams } from "./timeline-
|
|
77
|
-
import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, r as TransformRunPageParams, t as TransformDagParams } from "./transform-
|
|
78
|
-
import { t as TransformJobRunParams } from "./transform-job-
|
|
79
|
-
import { t as TransformTestListParams } from "./transform-test-
|
|
80
|
-
import { t as UploadCsvParams } from "./upload-
|
|
62
|
+
import { r as DashcardCardIssue, t as DashboardListParams } from "./dashboard-CknUcTp8.js";
|
|
63
|
+
import { n as DatabaseListParams, r as DatabaseSyncSchemaParams, t as DatabaseGetParams } from "./database-Bs5WQOOZ.js";
|
|
64
|
+
import { n as DatasetNativeParams, t as DatasetExportParams } from "./dataset-dzWljE_C.js";
|
|
65
|
+
import { i as DependencyItemPageOptions, n as DependencyDependentsParams, r as DependencyItemListParams, t as DependencyBrokenParams } from "./dependency-CL-YG9KH.js";
|
|
66
|
+
import { t as ErdParams } from "./erd-DCgdEC2S.js";
|
|
67
|
+
import { a as FieldSetDataSensitivityParams, i as FieldSearchParams, t as FieldRemappingParams } from "./field-ozrfbvUd.js";
|
|
68
|
+
import { a as SyncRemoteChangesParams, i as SyncImportParams, n as SyncExportParams, r as SyncExportPreflightParams, s as SyncStashParams, t as SyncCreateBranchParams } from "./git-sync-5lFWX1ds.js";
|
|
69
|
+
import { t as GlossaryListParams } from "./glossary-DwS7QVrl.js";
|
|
70
|
+
import { t as MeasureArchiveParams } from "./measure-CInoXeyH.js";
|
|
71
|
+
import { t as NotificationListParams } from "./notification-D-Hp82Pn.js";
|
|
72
|
+
import { t as PulseListParams } from "./pulse-BTpSNxhT.js";
|
|
73
|
+
import { t as ReplacementRunListParams } from "./replacement-Dbtvvrmz.js";
|
|
74
|
+
import { n as SearchParams, t as SearchPage } from "./search-BQWkdVg1.js";
|
|
75
|
+
import { t as SegmentArchiveParams } from "./segment-jyhBtOAZ.js";
|
|
76
|
+
import { t as SnippetListParams } from "./snippet-DsgohpTV.js";
|
|
77
|
+
import { t as TableListParams } from "./table-B1pQSpTA.js";
|
|
78
|
+
import { n as TimelineListParams, t as TimelineEventsParams } from "./timeline-BdLvwRnl.js";
|
|
79
|
+
import { a as TransformRunSummaryPageParams, i as TransformRunParams, n as TransformRunPageOptions, r as TransformRunPageParams, t as TransformDagParams } from "./transform-Ds74yPiY.js";
|
|
80
|
+
import { t as TransformJobRunParams } from "./transform-job-C85GxBHj.js";
|
|
81
|
+
import { t as TransformTestListParams } from "./transform-test-C3hiZ4AV.js";
|
|
82
|
+
import { t as UploadCsvParams } from "./upload-Bx1D7eNy.js";
|
|
81
83
|
//#region src/resources/metric.d.ts
|
|
82
84
|
interface MetricDimensionListParams {
|
|
83
85
|
query?: string | undefined;
|
|
@@ -246,6 +248,11 @@ declare function metricResource(transport: Transport): {
|
|
|
246
248
|
//#endregion
|
|
247
249
|
//#region src/client.d.ts
|
|
248
250
|
declare function createClient(config: ClientCredentials, options: ClientOptions): {
|
|
251
|
+
apiKey: {
|
|
252
|
+
list: (options?: RequestOptions) => Promise<ListResult<ApiKey>>;
|
|
253
|
+
create: (params: ApiKeyCreateInput, options?: RequestOptions) => Promise<CreatedApiKey>;
|
|
254
|
+
delete: (id: number, options?: RequestOptions) => Promise<void>;
|
|
255
|
+
};
|
|
249
256
|
card: {
|
|
250
257
|
list: (params?: CardListParams, options?: RequestOptions) => Promise<ListResult<Card>>;
|
|
251
258
|
get: (id: number, options?: RequestOptions) => Promise<CardDetail>;
|
|
@@ -262,7 +269,21 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
262
269
|
create: (params: CollectionCreateInput, options?: RequestOptions) => Promise<Collection>;
|
|
263
270
|
update: (ref: CollectionId, params: CollectionUpdateInput, options?: RequestOptions) => Promise<Collection>;
|
|
264
271
|
archive: (ref: CollectionId, options?: RequestOptions) => Promise<Collection>;
|
|
265
|
-
itemPages: (ref:
|
|
272
|
+
itemPages: (ref: string | number, params?: CollectionItemListParams | undefined, options?: CollectionItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
273
|
+
[x: string]: unknown;
|
|
274
|
+
id: number;
|
|
275
|
+
model: "collection" | "card" | "dashboard" | "dataset" | "document" | "metric" | "measure" | "pulse" | "snippet" | "table" | "timeline" | "transform" | "exploration" | "no_models" | "indexed-entity" | "action";
|
|
276
|
+
name: string;
|
|
277
|
+
archived: boolean | null;
|
|
278
|
+
description?: string | null | undefined;
|
|
279
|
+
collection_id?: string | number | null | undefined;
|
|
280
|
+
collection_position?: number | null | undefined;
|
|
281
|
+
display?: string | null | undefined;
|
|
282
|
+
location?: string | null | undefined;
|
|
283
|
+
entity_id?: string | null | undefined;
|
|
284
|
+
database_id?: number | null | undefined;
|
|
285
|
+
dashboard_id?: number | null | undefined;
|
|
286
|
+
}>>;
|
|
266
287
|
tree: (params?: CollectionTreeParams, options?: RequestOptions) => Promise<ListResult<CollectionTreeNode>>;
|
|
267
288
|
};
|
|
268
289
|
contentTranslation: {
|
|
@@ -332,55 +353,117 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
332
353
|
database_id?: number | null | undefined;
|
|
333
354
|
dataset_query?: unknown;
|
|
334
355
|
}>;
|
|
335
|
-
update: (id: number, params:
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
356
|
+
update: (id: number, params: DataActionUpdateInput, options?: RequestOptions) => Promise<DataAction>;
|
|
357
|
+
archive: (id: number, options?: RequestOptions) => Promise<DataAction>;
|
|
358
|
+
delete: (id: number, options?: RequestOptions) => Promise<void>;
|
|
359
|
+
execute: (id: number, params: DataActionExecuteInput, options?: RequestOptions) => Promise<DataActionExecuteResult>;
|
|
360
|
+
};
|
|
361
|
+
dataApp: {
|
|
362
|
+
list: (filter?: {
|
|
363
|
+
available?: boolean | undefined;
|
|
364
|
+
} | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
365
|
+
[x: string]: unknown;
|
|
366
|
+
id: number;
|
|
367
|
+
name: string;
|
|
368
|
+
display_name: string;
|
|
369
|
+
description: string | null;
|
|
370
|
+
version: number;
|
|
371
|
+
outdated: boolean;
|
|
372
|
+
bundle_path: string;
|
|
373
|
+
enabled: boolean;
|
|
374
|
+
allowed_hosts: string[];
|
|
375
|
+
resource_collection_id: number;
|
|
376
|
+
bundle_hash: string | null;
|
|
377
|
+
created_at: string;
|
|
378
|
+
updated_at: string;
|
|
379
|
+
} | {
|
|
380
|
+
name: string;
|
|
381
|
+
display_name: string;
|
|
382
|
+
}>>;
|
|
383
|
+
get: (slug: string, options?: RequestOptions | undefined) => Promise<{
|
|
384
|
+
[x: string]: unknown;
|
|
385
|
+
id: number;
|
|
386
|
+
name: string;
|
|
387
|
+
display_name: string;
|
|
388
|
+
description: string | null;
|
|
389
|
+
version: number;
|
|
390
|
+
outdated: boolean;
|
|
391
|
+
bundle_path: string;
|
|
392
|
+
enabled: boolean;
|
|
393
|
+
allowed_hosts: string[];
|
|
394
|
+
resource_collection_id: number;
|
|
395
|
+
bundle_hash: string | null;
|
|
396
|
+
created_at: string;
|
|
397
|
+
updated_at: string;
|
|
398
|
+
} | {
|
|
399
|
+
name: string;
|
|
400
|
+
display_name: string;
|
|
401
|
+
}>;
|
|
402
|
+
create: (params: {
|
|
403
|
+
name: string;
|
|
404
|
+
display_name?: string | undefined;
|
|
351
405
|
description?: string | null | undefined;
|
|
352
|
-
|
|
353
|
-
|
|
406
|
+
version?: number | undefined;
|
|
407
|
+
bundle_path?: string | undefined;
|
|
408
|
+
allowed_hosts?: string[] | undefined;
|
|
409
|
+
enabled?: boolean | undefined;
|
|
354
410
|
}, options?: RequestOptions | undefined) => Promise<{
|
|
355
411
|
[x: string]: unknown;
|
|
356
412
|
id: number;
|
|
357
413
|
name: string;
|
|
414
|
+
display_name: string;
|
|
358
415
|
description: string | null;
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
slug?: string | undefined;
|
|
367
|
-
target?: unknown;
|
|
368
|
-
required?: boolean | undefined;
|
|
369
|
-
}[] | null;
|
|
370
|
-
visualization_settings: unknown;
|
|
371
|
-
archived: boolean;
|
|
372
|
-
public_uuid: string | null;
|
|
373
|
-
entity_id: string | null;
|
|
374
|
-
creator_id: number;
|
|
416
|
+
version: number;
|
|
417
|
+
outdated: boolean;
|
|
418
|
+
bundle_path: string;
|
|
419
|
+
enabled: boolean;
|
|
420
|
+
allowed_hosts: string[];
|
|
421
|
+
resource_collection_id: number;
|
|
422
|
+
bundle_hash: string | null;
|
|
375
423
|
created_at: string;
|
|
376
424
|
updated_at: string;
|
|
377
|
-
collection_id: number | null;
|
|
378
|
-
database_id?: number | null | undefined;
|
|
379
|
-
dataset_query?: unknown;
|
|
380
425
|
}>;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
426
|
+
update: (slug: string, params: {
|
|
427
|
+
display_name?: string | undefined;
|
|
428
|
+
description?: string | null | undefined;
|
|
429
|
+
version?: number | undefined;
|
|
430
|
+
bundle_path?: string | undefined;
|
|
431
|
+
allowed_hosts?: string[] | undefined;
|
|
432
|
+
enabled?: boolean | undefined;
|
|
433
|
+
}, options?: RequestOptions | undefined) => Promise<{
|
|
434
|
+
[x: string]: unknown;
|
|
435
|
+
id: number;
|
|
436
|
+
name: string;
|
|
437
|
+
display_name: string;
|
|
438
|
+
description: string | null;
|
|
439
|
+
version: number;
|
|
440
|
+
outdated: boolean;
|
|
441
|
+
bundle_path: string;
|
|
442
|
+
enabled: boolean;
|
|
443
|
+
allowed_hosts: string[];
|
|
444
|
+
resource_collection_id: number;
|
|
445
|
+
bundle_hash: string | null;
|
|
446
|
+
created_at: string;
|
|
447
|
+
updated_at: string;
|
|
448
|
+
}>;
|
|
449
|
+
replaceBundle: (slug: string, bundle: string, options?: RequestOptions | undefined) => Promise<{
|
|
450
|
+
[x: string]: unknown;
|
|
451
|
+
id: number;
|
|
452
|
+
name: string;
|
|
453
|
+
display_name: string;
|
|
454
|
+
description: string | null;
|
|
455
|
+
version: number;
|
|
456
|
+
outdated: boolean;
|
|
457
|
+
bundle_path: string;
|
|
458
|
+
enabled: boolean;
|
|
459
|
+
allowed_hosts: string[];
|
|
460
|
+
resource_collection_id: number;
|
|
461
|
+
bundle_hash: string | null;
|
|
462
|
+
created_at: string;
|
|
463
|
+
updated_at: string;
|
|
464
|
+
}>;
|
|
465
|
+
typedSchema: (slug: string, options?: RequestOptions | undefined) => Promise<string>;
|
|
466
|
+
delete: (slug: string, options?: RequestOptions | undefined) => Promise<void>;
|
|
384
467
|
};
|
|
385
468
|
database: {
|
|
386
469
|
list: (params?: DatabaseListParams, options?: RequestOptions) => Promise<ListResult<Database>>;
|
|
@@ -398,18 +481,18 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
398
481
|
exportQuery: (format: ExportFormat, params: DatasetExportParams, options?: RequestOptions) => Promise<ReadableStream<Uint8Array>>;
|
|
399
482
|
};
|
|
400
483
|
dependency: {
|
|
401
|
-
graph: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
|
|
484
|
+
graph: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, options?: RequestOptions | undefined) => Promise<{
|
|
402
485
|
[x: string]: unknown;
|
|
403
486
|
nodes: {
|
|
404
487
|
[x: string]: unknown;
|
|
405
488
|
id: number;
|
|
406
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
489
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
407
490
|
data: {
|
|
408
491
|
[x: string]: unknown;
|
|
409
492
|
name?: string | null | undefined;
|
|
410
493
|
display_name?: string | null | undefined;
|
|
411
494
|
description?: string | null | undefined;
|
|
412
|
-
type?: "metric" | "question" | "
|
|
495
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
413
496
|
display?: string | null | undefined;
|
|
414
497
|
database_id?: number | null | undefined;
|
|
415
498
|
db_id?: number | null | undefined;
|
|
@@ -448,26 +531,26 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
448
531
|
} | null | undefined;
|
|
449
532
|
view_count?: number | null | undefined;
|
|
450
533
|
};
|
|
451
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "
|
|
534
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
452
535
|
}[];
|
|
453
536
|
edges: {
|
|
454
537
|
[x: string]: unknown;
|
|
455
|
-
from_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
538
|
+
from_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
456
539
|
from_entity_id: number;
|
|
457
|
-
to_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
540
|
+
to_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
458
541
|
to_entity_id: number;
|
|
459
542
|
}[];
|
|
460
543
|
}>;
|
|
461
|
-
dependents: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
544
|
+
dependents: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, params?: DependencyDependentsParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
462
545
|
[x: string]: unknown;
|
|
463
546
|
id: number;
|
|
464
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
547
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
465
548
|
data: {
|
|
466
549
|
[x: string]: unknown;
|
|
467
550
|
name?: string | null | undefined;
|
|
468
551
|
display_name?: string | null | undefined;
|
|
469
552
|
description?: string | null | undefined;
|
|
470
|
-
type?: "metric" | "question" | "
|
|
553
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
471
554
|
display?: string | null | undefined;
|
|
472
555
|
database_id?: number | null | undefined;
|
|
473
556
|
db_id?: number | null | undefined;
|
|
@@ -506,18 +589,18 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
506
589
|
} | null | undefined;
|
|
507
590
|
view_count?: number | null | undefined;
|
|
508
591
|
};
|
|
509
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "
|
|
592
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
510
593
|
}>>;
|
|
511
|
-
broken: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
594
|
+
broken: (type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox", id: number, params?: DependencyBrokenParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
512
595
|
[x: string]: unknown;
|
|
513
596
|
id: number;
|
|
514
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
597
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
515
598
|
data: {
|
|
516
599
|
[x: string]: unknown;
|
|
517
600
|
name?: string | null | undefined;
|
|
518
601
|
display_name?: string | null | undefined;
|
|
519
602
|
description?: string | null | undefined;
|
|
520
|
-
type?: "metric" | "question" | "
|
|
603
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
521
604
|
display?: string | null | undefined;
|
|
522
605
|
database_id?: number | null | undefined;
|
|
523
606
|
db_id?: number | null | undefined;
|
|
@@ -560,13 +643,13 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
560
643
|
unreferencedPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
561
644
|
[x: string]: unknown;
|
|
562
645
|
id: number;
|
|
563
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
646
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
564
647
|
data: {
|
|
565
648
|
[x: string]: unknown;
|
|
566
649
|
name?: string | null | undefined;
|
|
567
650
|
display_name?: string | null | undefined;
|
|
568
651
|
description?: string | null | undefined;
|
|
569
|
-
type?: "metric" | "question" | "
|
|
652
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
570
653
|
display?: string | null | undefined;
|
|
571
654
|
database_id?: number | null | undefined;
|
|
572
655
|
db_id?: number | null | undefined;
|
|
@@ -605,18 +688,18 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
605
688
|
} | null | undefined;
|
|
606
689
|
view_count?: number | null | undefined;
|
|
607
690
|
};
|
|
608
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "
|
|
691
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
609
692
|
}>>;
|
|
610
693
|
breakingPages: (params?: DependencyItemListParams | undefined, options?: DependencyItemPageOptions | undefined) => AsyncIterable<Page<{
|
|
611
694
|
[x: string]: unknown;
|
|
612
695
|
id: number;
|
|
613
|
-
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
696
|
+
type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
614
697
|
data: {
|
|
615
698
|
[x: string]: unknown;
|
|
616
699
|
name?: string | null | undefined;
|
|
617
700
|
display_name?: string | null | undefined;
|
|
618
701
|
description?: string | null | undefined;
|
|
619
|
-
type?: "metric" | "question" | "
|
|
702
|
+
type?: "query" | "metric" | "model" | "question" | "implicit" | null | undefined;
|
|
620
703
|
display?: string | null | undefined;
|
|
621
704
|
database_id?: number | null | undefined;
|
|
622
705
|
db_id?: number | null | undefined;
|
|
@@ -655,11 +738,11 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
655
738
|
} | null | undefined;
|
|
656
739
|
view_count?: number | null | undefined;
|
|
657
740
|
};
|
|
658
|
-
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "
|
|
741
|
+
dependents_count: Partial<Record<"dashboard" | "document" | "metric" | "measure" | "segment" | "snippet" | "table" | "transform" | "model" | "action" | "sandbox" | "question", number>> | null;
|
|
659
742
|
dependents_errors?: {
|
|
660
743
|
[x: string]: unknown;
|
|
661
744
|
id: number;
|
|
662
|
-
analyzed_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "sandbox";
|
|
745
|
+
analyzed_entity_type: "card" | "dashboard" | "document" | "measure" | "segment" | "snippet" | "table" | "transform" | "action" | "sandbox";
|
|
663
746
|
analyzed_entity_id: number;
|
|
664
747
|
error_type: "missing-column" | "missing-table-alias" | "missing-table" | "missing-card" | "duplicate-column" | "syntax-error" | "validation-exception-error";
|
|
665
748
|
error_detail?: string | null | undefined;
|
|
@@ -928,8 +1011,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
928
1011
|
task_id?: number | undefined;
|
|
929
1012
|
}>;
|
|
930
1013
|
syncedCollections: (options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
931
|
-
name: string;
|
|
932
1014
|
id: string | number;
|
|
1015
|
+
name: string;
|
|
933
1016
|
is_remote_synced?: boolean | null | undefined;
|
|
934
1017
|
}>>;
|
|
935
1018
|
remoteUrl: (options?: RequestOptions) => Promise<string | null>;
|
|
@@ -982,7 +1065,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
982
1065
|
is_personal?: boolean | undefined;
|
|
983
1066
|
authority_level?: "official" | null | undefined;
|
|
984
1067
|
type?: "library" | "instance-analytics" | "trash" | "library-data" | "library-metrics" | "library-dashboards" | "tenant-specific-root-collection" | null | undefined;
|
|
985
|
-
namespace?: "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-
|
|
1068
|
+
namespace?: "data-apps" | "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-actions" | null | undefined;
|
|
986
1069
|
entity_id?: string | null | undefined;
|
|
987
1070
|
slug?: string | undefined;
|
|
988
1071
|
can_write?: boolean | undefined;
|
|
@@ -1007,7 +1090,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1007
1090
|
is_personal?: boolean | undefined;
|
|
1008
1091
|
authority_level?: "official" | null | undefined;
|
|
1009
1092
|
type?: "library" | "instance-analytics" | "trash" | "library-data" | "library-metrics" | "library-dashboards" | "tenant-specific-root-collection" | null | undefined;
|
|
1010
|
-
namespace?: "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-
|
|
1093
|
+
namespace?: "data-apps" | "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-actions" | null | undefined;
|
|
1011
1094
|
entity_id?: string | null | undefined;
|
|
1012
1095
|
slug?: string | undefined;
|
|
1013
1096
|
can_write?: boolean | undefined;
|
|
@@ -1031,7 +1114,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1031
1114
|
is_personal?: boolean | undefined;
|
|
1032
1115
|
authority_level?: "official" | null | undefined;
|
|
1033
1116
|
type?: "library" | "instance-analytics" | "trash" | "library-data" | "library-metrics" | "library-dashboards" | "tenant-specific-root-collection" | null | undefined;
|
|
1034
|
-
namespace?: "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-
|
|
1117
|
+
namespace?: "data-apps" | "transforms" | "snippets" | "analytics" | "shared-tenant-collection" | "tenant-specific" | "data-actions" | null | undefined;
|
|
1035
1118
|
entity_id?: string | null | undefined;
|
|
1036
1119
|
slug?: string | undefined;
|
|
1037
1120
|
can_write?: boolean | undefined;
|
|
@@ -1432,7 +1515,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1432
1515
|
listRuns: (params?: ReplacementRunListParams | undefined, options?: RequestOptions | undefined) => Promise<ListResult<{
|
|
1433
1516
|
[x: string]: unknown;
|
|
1434
1517
|
id: number;
|
|
1435
|
-
status: "
|
|
1518
|
+
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
1436
1519
|
is_active: true | null;
|
|
1437
1520
|
source_entity_type: "card" | "table" | "transform";
|
|
1438
1521
|
source_entity_id: number;
|
|
@@ -1447,7 +1530,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1447
1530
|
getRun: (id: number, options?: RequestOptions | undefined) => Promise<{
|
|
1448
1531
|
[x: string]: unknown;
|
|
1449
1532
|
id: number;
|
|
1450
|
-
status: "
|
|
1533
|
+
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
1451
1534
|
is_active: true | null;
|
|
1452
1535
|
source_entity_type: "card" | "table" | "transform";
|
|
1453
1536
|
source_entity_id: number;
|
|
@@ -1562,7 +1645,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1562
1645
|
db_id: number;
|
|
1563
1646
|
schema: string | null;
|
|
1564
1647
|
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
1565
|
-
data_layer: "
|
|
1648
|
+
data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
1566
1649
|
estimated_row_count: number | null;
|
|
1567
1650
|
active: boolean;
|
|
1568
1651
|
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
@@ -1602,8 +1685,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1602
1685
|
show_in_getting_started?: boolean | undefined;
|
|
1603
1686
|
field_order?: "database" | "custom" | "alphabetical" | "smart" | undefined;
|
|
1604
1687
|
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
1605
|
-
data_source?: "
|
|
1606
|
-
data_layer?: "
|
|
1688
|
+
data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
1689
|
+
data_layer?: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null | undefined;
|
|
1607
1690
|
owner_email?: string | null | undefined;
|
|
1608
1691
|
owner_user_id?: number | null | undefined;
|
|
1609
1692
|
collection_id?: number | undefined;
|
|
@@ -1617,7 +1700,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1617
1700
|
db_id: number;
|
|
1618
1701
|
schema: string | null;
|
|
1619
1702
|
entity_type: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null;
|
|
1620
|
-
data_layer: "
|
|
1703
|
+
data_layer: "hidden" | "final" | "internal" | "gold" | "silver" | "bronze" | "copper" | null;
|
|
1621
1704
|
estimated_row_count: number | null;
|
|
1622
1705
|
active: boolean;
|
|
1623
1706
|
visibility_type?: "hidden" | "technical" | "cruft" | null | undefined;
|
|
@@ -1655,8 +1738,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1655
1738
|
schema_ids?: string[] | undefined;
|
|
1656
1739
|
table_ids?: number[] | undefined;
|
|
1657
1740
|
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
1658
|
-
data_source?: "
|
|
1659
|
-
data_layer?: "
|
|
1741
|
+
data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
1742
|
+
data_layer?: "hidden" | "final" | "internal" | null | undefined;
|
|
1660
1743
|
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
1661
1744
|
owner_email?: string | null | undefined;
|
|
1662
1745
|
owner_user_id?: number | null | undefined;
|
|
@@ -1666,8 +1749,8 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1666
1749
|
schema_ids?: string[] | undefined;
|
|
1667
1750
|
table_ids?: number[] | undefined;
|
|
1668
1751
|
data_authority?: "unconfigured" | "authoritative" | "computed" | "ingested" | null | undefined;
|
|
1669
|
-
data_source?: "
|
|
1670
|
-
data_layer?: "
|
|
1752
|
+
data_source?: "upload" | "transform" | "unknown" | "ingested" | "metabase-transform" | "source-data" | null | undefined;
|
|
1753
|
+
data_layer?: "hidden" | "final" | "internal" | null | undefined;
|
|
1671
1754
|
entity_type?: "entity/GenericTable" | "entity/UserTable" | "entity/CompanyTable" | "entity/TransactionTable" | "entity/ProductTable" | "entity/SubscriptionTable" | "entity/EventTable" | null | undefined;
|
|
1672
1755
|
owner_email?: string | null | undefined;
|
|
1673
1756
|
owner_user_id?: number | null | undefined;
|
|
@@ -1743,10 +1826,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1743
1826
|
"source-tables": {
|
|
1744
1827
|
[x: string]: unknown;
|
|
1745
1828
|
alias: string;
|
|
1746
|
-
database_id: number;
|
|
1747
|
-
schema: string | null;
|
|
1748
|
-
table?: string | undefined;
|
|
1749
1829
|
table_id?: number | null | undefined;
|
|
1830
|
+
database_id?: number | null | undefined;
|
|
1831
|
+
schema?: string | null | undefined;
|
|
1832
|
+
table?: string | null | undefined;
|
|
1750
1833
|
}[];
|
|
1751
1834
|
"source-database"?: number | undefined;
|
|
1752
1835
|
"source-incremental-strategy"?: {
|
|
@@ -1795,7 +1878,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1795
1878
|
id: number;
|
|
1796
1879
|
transform_id: number;
|
|
1797
1880
|
run_method: "manual" | "cron";
|
|
1798
|
-
status: "
|
|
1881
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
1799
1882
|
start_time: string;
|
|
1800
1883
|
message: string | null;
|
|
1801
1884
|
user_id: number | null;
|
|
@@ -1824,10 +1907,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1824
1907
|
"source-tables": {
|
|
1825
1908
|
[x: string]: unknown;
|
|
1826
1909
|
alias: string;
|
|
1827
|
-
database_id: number;
|
|
1828
|
-
schema: string | null;
|
|
1829
|
-
table?: string | undefined;
|
|
1830
1910
|
table_id?: number | null | undefined;
|
|
1911
|
+
database_id?: number | null | undefined;
|
|
1912
|
+
schema?: string | null | undefined;
|
|
1913
|
+
table?: string | null | undefined;
|
|
1831
1914
|
}[];
|
|
1832
1915
|
"source-database"?: number | undefined;
|
|
1833
1916
|
"source-incremental-strategy"?: {
|
|
@@ -1876,7 +1959,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1876
1959
|
id: number;
|
|
1877
1960
|
transform_id: number;
|
|
1878
1961
|
run_method: "manual" | "cron";
|
|
1879
|
-
status: "
|
|
1962
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
1880
1963
|
start_time: string;
|
|
1881
1964
|
message: string | null;
|
|
1882
1965
|
user_id: number | null;
|
|
@@ -1900,14 +1983,21 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1900
1983
|
[x: string]: unknown;
|
|
1901
1984
|
type: "python";
|
|
1902
1985
|
body: string;
|
|
1903
|
-
"source-tables": {
|
|
1986
|
+
"source-tables": ({
|
|
1904
1987
|
[x: string]: unknown;
|
|
1905
1988
|
alias: string;
|
|
1906
1989
|
database_id: number;
|
|
1907
|
-
schema
|
|
1990
|
+
schema?: string | null | undefined;
|
|
1908
1991
|
table?: string | undefined;
|
|
1909
1992
|
table_id?: number | null | undefined;
|
|
1910
|
-
}
|
|
1993
|
+
} | {
|
|
1994
|
+
[x: string]: unknown;
|
|
1995
|
+
alias: string;
|
|
1996
|
+
table_id: number;
|
|
1997
|
+
database_id?: null | undefined;
|
|
1998
|
+
schema?: null | undefined;
|
|
1999
|
+
table?: null | undefined;
|
|
2000
|
+
})[];
|
|
1911
2001
|
"source-database"?: number | undefined;
|
|
1912
2002
|
"source-incremental-strategy"?: {
|
|
1913
2003
|
[x: string]: unknown;
|
|
@@ -1967,10 +2057,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
1967
2057
|
"source-tables": {
|
|
1968
2058
|
[x: string]: unknown;
|
|
1969
2059
|
alias: string;
|
|
1970
|
-
database_id: number;
|
|
1971
|
-
schema: string | null;
|
|
1972
|
-
table?: string | undefined;
|
|
1973
2060
|
table_id?: number | null | undefined;
|
|
2061
|
+
database_id?: number | null | undefined;
|
|
2062
|
+
schema?: string | null | undefined;
|
|
2063
|
+
table?: string | null | undefined;
|
|
1974
2064
|
}[];
|
|
1975
2065
|
"source-database"?: number | undefined;
|
|
1976
2066
|
"source-incremental-strategy"?: {
|
|
@@ -2019,7 +2109,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2019
2109
|
id: number;
|
|
2020
2110
|
transform_id: number;
|
|
2021
2111
|
run_method: "manual" | "cron";
|
|
2022
|
-
status: "
|
|
2112
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2023
2113
|
start_time: string;
|
|
2024
2114
|
message: string | null;
|
|
2025
2115
|
user_id: number | null;
|
|
@@ -2044,14 +2134,21 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2044
2134
|
[x: string]: unknown;
|
|
2045
2135
|
type: "python";
|
|
2046
2136
|
body: string;
|
|
2047
|
-
"source-tables": {
|
|
2137
|
+
"source-tables": ({
|
|
2048
2138
|
[x: string]: unknown;
|
|
2049
2139
|
alias: string;
|
|
2050
2140
|
database_id: number;
|
|
2051
|
-
schema
|
|
2141
|
+
schema?: string | null | undefined;
|
|
2052
2142
|
table?: string | undefined;
|
|
2053
2143
|
table_id?: number | null | undefined;
|
|
2054
|
-
}
|
|
2144
|
+
} | {
|
|
2145
|
+
[x: string]: unknown;
|
|
2146
|
+
alias: string;
|
|
2147
|
+
table_id: number;
|
|
2148
|
+
database_id?: null | undefined;
|
|
2149
|
+
schema?: null | undefined;
|
|
2150
|
+
table?: null | undefined;
|
|
2151
|
+
})[];
|
|
2055
2152
|
"source-database"?: number | undefined;
|
|
2056
2153
|
"source-incremental-strategy"?: {
|
|
2057
2154
|
[x: string]: unknown;
|
|
@@ -2110,10 +2207,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2110
2207
|
"source-tables": {
|
|
2111
2208
|
[x: string]: unknown;
|
|
2112
2209
|
alias: string;
|
|
2113
|
-
database_id: number;
|
|
2114
|
-
schema: string | null;
|
|
2115
|
-
table?: string | undefined;
|
|
2116
2210
|
table_id?: number | null | undefined;
|
|
2211
|
+
database_id?: number | null | undefined;
|
|
2212
|
+
schema?: string | null | undefined;
|
|
2213
|
+
table?: string | null | undefined;
|
|
2117
2214
|
}[];
|
|
2118
2215
|
"source-database"?: number | undefined;
|
|
2119
2216
|
"source-incremental-strategy"?: {
|
|
@@ -2162,7 +2259,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2162
2259
|
id: number;
|
|
2163
2260
|
transform_id: number;
|
|
2164
2261
|
run_method: "manual" | "cron";
|
|
2165
|
-
status: "
|
|
2262
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2166
2263
|
start_time: string;
|
|
2167
2264
|
message: string | null;
|
|
2168
2265
|
user_id: number | null;
|
|
@@ -2193,10 +2290,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2193
2290
|
"source-tables": {
|
|
2194
2291
|
[x: string]: unknown;
|
|
2195
2292
|
alias: string;
|
|
2196
|
-
database_id: number;
|
|
2197
|
-
schema: string | null;
|
|
2198
|
-
table?: string | undefined;
|
|
2199
2293
|
table_id?: number | null | undefined;
|
|
2294
|
+
database_id?: number | null | undefined;
|
|
2295
|
+
schema?: string | null | undefined;
|
|
2296
|
+
table?: string | null | undefined;
|
|
2200
2297
|
}[];
|
|
2201
2298
|
"source-database"?: number | undefined;
|
|
2202
2299
|
"source-incremental-strategy"?: {
|
|
@@ -2245,7 +2342,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2245
2342
|
id: number;
|
|
2246
2343
|
transform_id: number;
|
|
2247
2344
|
run_method: "manual" | "cron";
|
|
2248
|
-
status: "
|
|
2345
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2249
2346
|
start_time: string;
|
|
2250
2347
|
message: string | null;
|
|
2251
2348
|
user_id: number | null;
|
|
@@ -2259,7 +2356,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2259
2356
|
id: number;
|
|
2260
2357
|
transform_id: number | null;
|
|
2261
2358
|
run_method: "manual" | "cron";
|
|
2262
|
-
status: "
|
|
2359
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2263
2360
|
is_active: boolean | null;
|
|
2264
2361
|
start_time: string;
|
|
2265
2362
|
message: string | null;
|
|
@@ -2271,7 +2368,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2271
2368
|
id: number;
|
|
2272
2369
|
transform_id: number | null;
|
|
2273
2370
|
run_method: "manual" | "cron";
|
|
2274
|
-
status: "
|
|
2371
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2275
2372
|
is_active: boolean | null;
|
|
2276
2373
|
start_time: string;
|
|
2277
2374
|
message: string | null;
|
|
@@ -2287,7 +2384,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2287
2384
|
direction: "upstream" | "downstream" | null;
|
|
2288
2385
|
transform_count: number | null;
|
|
2289
2386
|
run_method: "manual" | "cron" | null;
|
|
2290
|
-
status: "
|
|
2387
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2291
2388
|
is_active: boolean | null;
|
|
2292
2389
|
start_time: string;
|
|
2293
2390
|
message: string | null;
|
|
@@ -2311,7 +2408,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2311
2408
|
id: number;
|
|
2312
2409
|
transform_id: number | null;
|
|
2313
2410
|
run_method: "manual" | "cron";
|
|
2314
|
-
status: "
|
|
2411
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2315
2412
|
is_active: boolean | null;
|
|
2316
2413
|
start_time: string;
|
|
2317
2414
|
message: string | null;
|
|
@@ -2327,7 +2424,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2327
2424
|
id: number;
|
|
2328
2425
|
transform_id: number | null;
|
|
2329
2426
|
run_method: "manual" | "cron";
|
|
2330
|
-
status: "
|
|
2427
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2331
2428
|
is_active: boolean | null;
|
|
2332
2429
|
start_time: string;
|
|
2333
2430
|
message: string | null;
|
|
@@ -2567,7 +2664,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2567
2664
|
id: number;
|
|
2568
2665
|
job_id: number;
|
|
2569
2666
|
run_method: "manual" | "cron";
|
|
2570
|
-
status: "
|
|
2667
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
2571
2668
|
start_time: string;
|
|
2572
2669
|
message: string | null;
|
|
2573
2670
|
created_at: string;
|
|
@@ -2597,7 +2694,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2597
2694
|
id: number;
|
|
2598
2695
|
job_id: number;
|
|
2599
2696
|
run_method: "manual" | "cron";
|
|
2600
|
-
status: "
|
|
2697
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
2601
2698
|
start_time: string;
|
|
2602
2699
|
message: string | null;
|
|
2603
2700
|
created_at: string;
|
|
@@ -2634,7 +2731,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2634
2731
|
id: number;
|
|
2635
2732
|
job_id: number;
|
|
2636
2733
|
run_method: "manual" | "cron";
|
|
2637
|
-
status: "
|
|
2734
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
2638
2735
|
start_time: string;
|
|
2639
2736
|
message: string | null;
|
|
2640
2737
|
created_at: string;
|
|
@@ -2672,7 +2769,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2672
2769
|
id: number;
|
|
2673
2770
|
job_id: number;
|
|
2674
2771
|
run_method: "manual" | "cron";
|
|
2675
|
-
status: "
|
|
2772
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
2676
2773
|
start_time: string;
|
|
2677
2774
|
message: string | null;
|
|
2678
2775
|
created_at: string;
|
|
@@ -2711,10 +2808,10 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2711
2808
|
"source-tables": {
|
|
2712
2809
|
[x: string]: unknown;
|
|
2713
2810
|
alias: string;
|
|
2714
|
-
database_id: number;
|
|
2715
|
-
schema: string | null;
|
|
2716
|
-
table?: string | undefined;
|
|
2717
2811
|
table_id?: number | null | undefined;
|
|
2812
|
+
database_id?: number | null | undefined;
|
|
2813
|
+
schema?: string | null | undefined;
|
|
2814
|
+
table?: string | null | undefined;
|
|
2718
2815
|
}[];
|
|
2719
2816
|
"source-database"?: number | undefined;
|
|
2720
2817
|
"source-incremental-strategy"?: {
|
|
@@ -2763,7 +2860,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2763
2860
|
id: number;
|
|
2764
2861
|
transform_id: number;
|
|
2765
2862
|
run_method: "manual" | "cron";
|
|
2766
|
-
status: "
|
|
2863
|
+
status: "started" | "succeeded" | "failed" | "canceled" | "timeout" | "canceling";
|
|
2767
2864
|
start_time: string;
|
|
2768
2865
|
message: string | null;
|
|
2769
2866
|
user_id: number | null;
|
|
@@ -2795,14 +2892,21 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
2795
2892
|
}>;
|
|
2796
2893
|
testRun: (params: {
|
|
2797
2894
|
code: string;
|
|
2798
|
-
source_tables: {
|
|
2895
|
+
source_tables: ({
|
|
2799
2896
|
[x: string]: unknown;
|
|
2800
2897
|
alias: string;
|
|
2801
2898
|
database_id: number;
|
|
2802
|
-
schema
|
|
2899
|
+
schema?: string | null | undefined;
|
|
2803
2900
|
table?: string | undefined;
|
|
2804
2901
|
table_id?: number | null | undefined;
|
|
2805
|
-
}
|
|
2902
|
+
} | {
|
|
2903
|
+
[x: string]: unknown;
|
|
2904
|
+
alias: string;
|
|
2905
|
+
table_id: number;
|
|
2906
|
+
database_id?: null | undefined;
|
|
2907
|
+
schema?: null | undefined;
|
|
2908
|
+
table?: null | undefined;
|
|
2909
|
+
})[];
|
|
2806
2910
|
output_row_limit?: number | undefined;
|
|
2807
2911
|
per_input_row_limit?: number | undefined;
|
|
2808
2912
|
}, options?: RequestOptions | undefined) => Promise<{
|
|
@@ -3192,7 +3296,7 @@ declare function createClient(config: ClientCredentials, options: ClientOptions)
|
|
|
3192
3296
|
delete: (id: number, options?: RequestOptions | undefined) => Promise<void>;
|
|
3193
3297
|
run: (id: number, options?: RequestOptions | undefined) => Promise<{
|
|
3194
3298
|
[x: string]: unknown;
|
|
3195
|
-
status: "
|
|
3299
|
+
status: "error" | "failed" | "passed";
|
|
3196
3300
|
expectations: ({
|
|
3197
3301
|
[x: string]: unknown;
|
|
3198
3302
|
name: string;
|