@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.
- package/CHANGELOG.md +13 -0
- package/README.md +2 -2
- package/dist/{card-CrSywvOt.d.ts → card-CAOxi3ZU.d.ts} +26 -26
- package/dist/{card-CbV6hLYH.d.ts → card-Ik580mDC.d.ts} +3 -3
- package/dist/{client-cBi6_RQs.d.ts → client-CQkS1030.d.ts} +117 -116
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/{collection-Q9FNMiRh.d.ts → collection-B31DGW6J.d.ts} +4 -4
- package/dist/{collection-Bmtisr3r.d.ts → collection-kN2oYenF.d.ts} +43 -43
- package/dist/{dashboard-DBdEehA9.d.ts → dashboard-Bkl_vs7L.d.ts} +23 -23
- package/dist/{dashboard-CknUcTp8.d.ts → dashboard-ClJ5XHXJ.d.ts} +3 -3
- package/dist/{data-action-CqqZ0JYg.d.ts → data-action-CCU3lzoY.d.ts} +64 -13
- package/dist/data-app-DAEPU9W5.d.ts +111 -0
- package/dist/{database-CYNLJ8AZ.d.ts → database-B54owh7H.d.ts} +16 -16
- package/dist/{database-Bs5WQOOZ.d.ts → database-DNQLCRBJ.d.ts} +3 -3
- package/dist/{dataset-cg8ZZrOP.d.ts → dataset-Bj3bNqjm.d.ts} +71 -71
- package/dist/{dataset-dzWljE_C.d.ts → dataset-C05pNRjH.d.ts} +3 -3
- package/dist/{dependency-VqvLTDAU.d.ts → dependency-B8aPt_IM.d.ts} +163 -163
- package/dist/{dependency-CL-YG9KH.d.ts → dependency-NbXbo_fE.d.ts} +25 -25
- package/dist/{document-tLd6pYWe.d.ts → document-rqUlE_OE.d.ts} +1 -1
- package/dist/domain/card.d.ts +1 -1
- package/dist/domain/collection.d.ts +1 -1
- package/dist/domain/dashboard.d.ts +1 -1
- package/dist/domain/data-action.d.ts +2 -2
- package/dist/domain/data-action.js +43 -10
- package/dist/domain/data-app.d.ts +2 -2
- package/dist/domain/data-app.js +27 -14
- 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/document.d.ts +1 -1
- package/dist/domain/eid-translation.d.ts +1 -1
- package/dist/domain/embedding.d.ts +1 -1
- package/dist/domain/field.d.ts +1 -1
- package/dist/domain/git-sync.d.ts +1 -1
- package/dist/domain/library.d.ts +1 -1
- package/dist/domain/metric.d.ts +1 -1
- package/dist/domain/moderation-review.d.ts +1 -1
- package/dist/domain/notification.d.ts +1 -1
- package/dist/domain/parameter.d.ts +1 -1
- package/dist/domain/pulse.d.ts +1 -1
- package/dist/domain/replacement.d.ts +1 -1
- package/dist/domain/revision.d.ts +1 -1
- package/dist/domain/search.d.ts +1 -1
- package/dist/domain/table.d.ts +1 -1
- package/dist/domain/timeline.d.ts +1 -1
- package/dist/domain/transform-inspector.d.ts +1 -1
- package/dist/domain/transform-job.d.ts +1 -1
- package/dist/domain/transform-python.d.ts +1 -1
- package/dist/domain/transform-test.d.ts +2 -2
- package/dist/domain/transform-test.js +5 -1
- package/dist/domain/transform.d.ts +1 -1
- package/dist/{eid-translation-aQSffx0o.d.ts → eid-translation-CP79Tz71.d.ts} +40 -40
- package/dist/{embedding-Cz3RUJYf.d.ts → embedding-oU3gqfgX.d.ts} +1 -1
- package/dist/{erd-DCgdEC2S.d.ts → erd-BJ3OjckY.d.ts} +1 -1
- package/dist/{errors-DdMlaXqq.js → errors-D5mjCJCW.js} +12 -4
- package/dist/errors.d.ts +1 -1
- package/dist/{features-SMSfJhB6.d.ts → features-BwC2QUQB.d.ts} +4 -0
- package/dist/{field-ozrfbvUd.d.ts → field-Be27Kzlx.d.ts} +2 -2
- package/dist/{field-tqQPtVuR.d.ts → field-CCp65II7.d.ts} +3 -3
- package/dist/{git-sync-5lFWX1ds.d.ts → git-sync-CBplEGj0.d.ts} +1 -1
- package/dist/{git-sync-QL9Nu6gP.d.ts → git-sync-D1gts9j5.d.ts} +8 -8
- package/dist/{glossary-DwS7QVrl.d.ts → glossary-yuKOTBXb.d.ts} +1 -1
- package/dist/http/errors.d.ts +1 -1
- package/dist/http/errors.js +1 -1
- package/dist/http/oauth.js +1 -1
- package/dist/http/transport.d.ts +1 -1
- package/dist/http/transport.js +1 -1
- package/dist/index.d.ts +37 -37
- package/dist/index.js +6 -6
- package/dist/{input-gates-DwKoTJVQ.d.ts → input-gates-DLCSnwRf.d.ts} +1 -1
- package/dist/{json-DwGOvRtS.d.ts → json-DK8ntK_m.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{library-B9pEq7qP.d.ts → library-DZpIRTeG.d.ts} +2 -2
- package/dist/{measure-CInoXeyH.d.ts → measure-DZ7RmNPs.d.ts} +1 -1
- package/dist/{metric-CYOmbcM5.d.ts → metric-CKhTot_B.d.ts} +9 -9
- package/dist/{moderation-review-CWUQ3_HL.d.ts → moderation-review-B4RUTZ6_.d.ts} +4 -4
- package/dist/{notification-D-Hp82Pn.d.ts → notification-BwLEwNk9.d.ts} +2 -2
- package/dist/{notification-BY2JEjKp.d.ts → notification-D1MThyKE.d.ts} +2 -2
- package/dist/{paginate-CaJ5usdp.d.ts → paginate-CPjKDJ2m.d.ts} +1 -1
- package/dist/paginate.d.ts +1 -1
- package/dist/{parameter-BYo7uR-J.d.ts → parameter-CvyXRH6F.d.ts} +4 -4
- package/dist/{pulse-BUlfrJZH.d.ts → pulse-BgS7Y3MU.d.ts} +20 -20
- package/dist/{pulse-BTpSNxhT.d.ts → pulse-DEKvyd8u.d.ts} +2 -2
- package/dist/{refusal-B9aeHMc9.js → refusal-CvN0pxPR.js} +1 -1
- package/dist/{replacement-BQian4vA.d.ts → replacement-Bu4qxOua.d.ts} +17 -17
- package/dist/{replacement-Dbtvvrmz.d.ts → replacement-WU_rk924.d.ts} +9 -9
- package/dist/{requirement-check-CHHEHXcj.d.ts → requirement-check-B5tsY6Z_.d.ts} +2 -2
- package/dist/{requirements-Dx_ZVzl7.d.ts → requirements-CW0DsGzZ.d.ts} +4 -5
- package/dist/resources/api-key.d.ts +1 -1
- package/dist/resources/card.d.ts +1 -1
- package/dist/resources/collection.d.ts +1 -1
- package/dist/resources/collection.js +1 -1
- 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 +1 -1
- package/dist/resources/data-action.d.ts +22 -4
- package/dist/resources/data-action.js +11 -6
- package/dist/resources/data-app.d.ts +35 -52
- package/dist/resources/data-app.js +23 -38
- 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 +1 -1
- package/dist/resources/document.d.ts +10 -3
- package/dist/resources/document.js +1 -1
- package/dist/resources/eid-translation.d.ts +2 -2
- package/dist/resources/erd.d.ts +1 -1
- package/dist/resources/erd.js +1 -1
- package/dist/resources/field.d.ts +1 -1
- package/dist/resources/field.js +1 -1
- package/dist/resources/git-sync.d.ts +1 -1
- package/dist/resources/git-sync.js +2 -2
- package/dist/resources/glossary.d.ts +1 -1
- package/dist/resources/library.d.ts +1 -1
- package/dist/resources/library.js +1 -1
- package/dist/resources/measure.d.ts +1 -1
- package/dist/resources/measure.js +1 -1
- package/dist/resources/metric.d.ts +1 -1
- package/dist/resources/metric.js +1 -1
- package/dist/resources/moderation-review.d.ts +1 -1
- package/dist/resources/moderation-review.js +1 -1
- package/dist/resources/notification.d.ts +1 -1
- 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/replacement.d.ts +1 -1
- package/dist/resources/replacement.js +1 -1
- package/dist/resources/revision.d.ts +3 -3
- package/dist/resources/revision.js +1 -1
- package/dist/resources/search.d.ts +1 -1
- package/dist/resources/search.js +1 -1
- package/dist/resources/segment.d.ts +1 -1
- package/dist/resources/setting.d.ts +1 -1
- package/dist/resources/setup.d.ts +1 -1
- package/dist/resources/snippet.d.ts +1 -1
- package/dist/resources/table.d.ts +1 -1
- package/dist/resources/table.js +1 -1
- 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 +1 -1
- package/dist/resources/transform-dag-run.js +1 -1
- package/dist/resources/transform-inspector.d.ts +4 -4
- package/dist/resources/transform-inspector.js +1 -1
- package/dist/resources/transform-job.d.ts +1 -1
- package/dist/resources/transform-job.js +1 -1
- package/dist/resources/transform-python.d.ts +1 -1
- package/dist/resources/transform-python.js +1 -1
- package/dist/resources/transform-tag.d.ts +1 -1
- package/dist/resources/transform-tag.js +1 -1
- package/dist/resources/transform-test.d.ts +1 -1
- package/dist/resources/transform-test.js +1 -1
- package/dist/resources/transform.d.ts +1 -1
- package/dist/resources/transform.js +1 -1
- package/dist/resources/upload.d.ts +1 -1
- package/dist/resources/user.d.ts +1 -1
- package/dist/{revision-DNEw6S93.d.ts → revision-CwP4-eqv.d.ts} +5 -5
- package/dist/{search-tK5lmRb8.d.ts → search-C0PiFw8c.d.ts} +24 -24
- package/dist/{search-BQWkdVg1.d.ts → search-DjJ_lu_o.d.ts} +2 -2
- package/dist/{segment-jyhBtOAZ.d.ts → segment-BR0OAdWN.d.ts} +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/{snippet-DsgohpTV.d.ts → snippet-C5naeVEd.d.ts} +1 -1
- package/dist/{table-BAl8aPZZ.d.ts → table-B3lazUvH.d.ts} +28 -28
- package/dist/{table-B1pQSpTA.d.ts → table-DT3kO7JU.d.ts} +9 -9
- package/dist/{timeline-BfX1lMob.d.ts → timeline-Bnn28jC7.d.ts} +21 -21
- package/dist/{timeline-BdLvwRnl.d.ts → timeline-vJHDIuDJ.d.ts} +2 -2
- package/dist/{transform-DwnIcpqV.d.ts → transform-B0mugBQQ.d.ts} +1 -1
- package/dist/{transform-Ds74yPiY.d.ts → transform-Buv3VvTt.d.ts} +3 -3
- package/dist/{transform-inspector-BMaRqcRM.d.ts → transform-inspector-BUYBt6--.d.ts} +8 -8
- package/dist/{transform-job-C85GxBHj.d.ts → transform-job-BFLbsf5-.d.ts} +1 -1
- package/dist/{transform-job-Dfp9Ox0l.d.ts → transform-job-DV28hc1A.d.ts} +2 -2
- package/dist/{transform-python-DtL3xxMj.d.ts → transform-python-B-jBoeVa.d.ts} +1 -1
- package/dist/{transform-test-C3hiZ4AV.d.ts → transform-test-3uuvuwyQ.d.ts} +1 -1
- package/dist/{transform-test-DROPvrkI.d.ts → transform-test-DpTJm7H7.d.ts} +2 -1
- package/dist/{transport-CS11mEqI.d.ts → transport-CM-eJat3.d.ts} +7 -3
- package/dist/{transport-HP7cyo9N.js → transport-D52WFGBR.js} +1 -1
- package/dist/{upload-Bx1D7eNy.d.ts → upload-BxRCvpJo.d.ts} +1 -1
- package/dist/version/capability-error.d.ts +1 -1
- package/dist/version/capability-error.js +1 -1
- package/dist/version/features.d.ts +1 -1
- package/dist/version/features.js +1 -0
- package/dist/version/input-gates.d.ts +1 -1
- 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 +3 -4
- package/package.json +1 -1
- package/dist/data-app-MoMS9VUr.d.ts +0 -76
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import { KNOWN_RANGE } from "./version/known-range.js";
|
|
|
3
3
|
import { AbortError, ChainedRequestError, ConfigError, FailedResultError, InternalError, MetabaseError, NetworkError, PartialWriteError, ResponseShapeError, TimeoutError, UnknownError, ValidationError, errorMessage, isFileNotFoundError, toMetabaseError } from "./errors.js";
|
|
4
4
|
import { parseJson } from "./json.js";
|
|
5
5
|
import { assertEndpointOrigin, displayUrl, normalizeUrl } from "./url.js";
|
|
6
|
-
import { a as HttpError, f as isHttpNotFound } from "./errors-
|
|
6
|
+
import { a as HttpError, f as isHttpNotFound } from "./errors-D5mjCJCW.js";
|
|
7
7
|
import { FEATURE_NAMES, FEATURE_RULES, Features, evaluateFeatures, isFeatureName, ruleGap } from "./version/features.js";
|
|
8
8
|
import { CapabilityError, RequirementFailure, RequirementReason } from "./version/capability-error.js";
|
|
9
9
|
import { DevelopmentBuild, Edition, ReleaseVersion, ServerVersion, StoredServerVersion, describeVersion, editionFromTag, parseTag } from "./version/tag.js";
|
|
10
10
|
import { ServerProfile, Skew, createServerProfile, featureGap } from "./version/profile.js";
|
|
11
11
|
import { probeServer } from "./version/probe.js";
|
|
12
12
|
import { checkFeatures, featureFailures } from "./version/requirement-check.js";
|
|
13
|
-
import { r as createTransport } from "./transport-
|
|
13
|
+
import { r as createTransport } from "./transport-D52WFGBR.js";
|
|
14
14
|
import { ApiKey, ApiKeyCompact, ApiKeyCreateInput, CreatedApiKey, CreatedApiKeyCompact } from "./domain/api-key.js";
|
|
15
15
|
import { EmbeddingParams } from "./domain/embedding.js";
|
|
16
16
|
import { Field, FieldBaseType, FieldCoercionStrategy, FieldCompact, FieldDataSensitivity, FieldDetail, FieldRemappedValue, FieldSearchMatches, FieldSemanticType, FieldSummary, FieldUpdateInput, FieldValues, FieldValuesCompact, FieldWithDataSensitivity, FieldWithDataSensitivityCompact, FieldWithTarget, hasDataSensitivity } from "./domain/field.js";
|
|
@@ -26,8 +26,8 @@ import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_ITEM_MODELS, COLLECTION_PINNE
|
|
|
26
26
|
import { METHOD_KEYS, METHOD_REQUIREMENTS, isMethodKey, methodRequirements } from "./version/requirements.js";
|
|
27
27
|
import { ContentTranslationUploadResult } from "./domain/content-translation.js";
|
|
28
28
|
import { Dashboard, DashboardCompact, DashboardCopy, DashboardCopyCompact, DashboardCopyInput, DashboardCreateInput, DashboardDetail, DashboardLayoutInput, DashboardListFilter, DashboardParameterConstraints, DashboardTab, DashboardTabCompact, DashboardUncopiedCard, DashboardUpdateInput, Dashcard, DashcardCompact, DashcardDetail, DashcardPatchInput, DashcardVirtualCard, DashcardVisualizationSettings, UnreadableCard } from "./domain/dashboard.js";
|
|
29
|
-
import { DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, dataActionSchema } from "./domain/data-action.js";
|
|
30
|
-
import { DataApp,
|
|
29
|
+
import { DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, ImplicitActionKind, dataActionSchema } from "./domain/data-action.js";
|
|
30
|
+
import { DataApp, DataAppActionDefinition, DataAppCompact, DataAppEntry, DataAppGenerateActionsInput, DataAppGenerateQueriesInput, DataAppGeneratedFile, DataAppGeneratedFiles, DataAppQueryDefinition, DataAppSlug, DataAppSummary, DataAppUpdateInput } from "./domain/data-app.js";
|
|
31
31
|
import { pollUntil } from "./poll.js";
|
|
32
32
|
import { BreakingSource, BreakingSourceCompact, DependencyEdge, DependencyEntity, DependencyEntityCompact, DependencyEntityData, DependencyErrorSourceType, DependencyFindingError, DependencyFindingErrorType, DependencyGraph, DependencyGraphCompact, DependencyItemsSortColumn, DependencyNode, DependencyNodeCompact, DependencyType, DependencyUsageType, DependentsSortColumn } from "./domain/dependency.js";
|
|
33
33
|
import { Document, DocumentCompact, DocumentCopyInput, DocumentCreateInput, DocumentUpdateInput, TipTapNode, TipTapNodeInput } from "./domain/document.js";
|
|
@@ -55,10 +55,10 @@ import { InspectorField, InspectorTable, LensAlertTrigger, LensCard, LensCardDis
|
|
|
55
55
|
import { TransformJob, TransformJobActiveResult, TransformJobCompact, TransformJobCreateInput, TransformJobRunResult, TransformJobUpdateInput } from "./domain/transform-job.js";
|
|
56
56
|
import { PythonLibrary, PythonLibraryUpdateInput, PythonTestRunError, PythonTestRunInput, PythonTestRunOutput, PythonTestRunResult } from "./domain/transform-python.js";
|
|
57
57
|
import { TransformTag, TransformTagCompact, TransformTagCreateInput, TransformTagUpdateInput } from "./domain/transform-tag.js";
|
|
58
|
-
import { TransformTest, TransformTestColumn, TransformTestCompact, TransformTestCreateInput, TransformTestExpectation, TransformTestExpectationResult, TransformTestInput, TransformTestRefusalCode, TransformTestResultColumn, TransformTestRow, TransformTestRunResult, TransformTestTable, TransformTestUpdateInput, isTransformTestRefusalCode } from "./domain/transform-test.js";
|
|
58
|
+
import { TransformTest, TransformTestColumn, TransformTestCompact, TransformTestCreateInput, TransformTestExpectation, TransformTestExpectationResult, TransformTestInput, TransformTestRefusalCode, TransformTestResultColumn, TransformTestRow, TransformTestRunResult, TransformTestTable, TransformTestUpdateInput, isTransformTestCode, isTransformTestRefusalCode } from "./domain/transform-test.js";
|
|
59
59
|
import { UploadResult, UploadUpdateAction, UploadUpdateResult } from "./domain/upload.js";
|
|
60
60
|
import { CurrentUser, CurrentUserCompact } from "./domain/user.js";
|
|
61
61
|
import { createClient } from "./client.js";
|
|
62
62
|
import { t as oauthLogin } from "./oauth-login--tDagiZu.js";
|
|
63
63
|
import { refreshOAuthCredential, revokeOAuthCredential } from "./auth/oauth-session.js";
|
|
64
|
-
export { AbortError, ApiKey, ApiKeyCompact, ApiKeyCreateInput, BreakingSource, BreakingSourceCompact, CARD_PAYLOAD_TYPE, COLLECTION_ITEM_FILTER_MODELS, COLLECTION_ITEM_MODELS, COLLECTION_PINNED_STATES, CapabilityError, Card, CardCompact, CardCreateInput, CardDetail, CardListFilter, CardQueryResult, CardQueryResultCompact, CardType, CardUpdateInput, ChainedRequestError, Collection, CollectionAuthorityLevel, CollectionCompact, CollectionCreateInput, CollectionId, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionItemModel, CollectionListFilter, CollectionNamespace, CollectionPinnedState, CollectionTreeNode, CollectionUpdateInput, CompiledQuery, CompiledQueryCompact, ConfigError, ContentTranslationUploadResult, CreateQueriesPermission, CreatedApiKey, CreatedApiKeyCompact, CronUiDisplayType, CurrentUser, CurrentUserCompact, Dashboard, DashboardCompact, DashboardCopy, DashboardCopyCompact, DashboardCopyInput, DashboardCreateInput, DashboardDetail, DashboardLayoutInput, DashboardListFilter, DashboardParameterConstraints, DashboardTab, DashboardTabCompact, DashboardUncopiedCard, DashboardUpdateInput, Dashcard, DashcardCompact, DashcardDetail, DashcardPatchInput, DashcardVirtualCard, DashcardVisualizationSettings, DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, DataApp,
|
|
64
|
+
export { AbortError, ApiKey, ApiKeyCompact, ApiKeyCreateInput, BreakingSource, BreakingSourceCompact, CARD_PAYLOAD_TYPE, COLLECTION_ITEM_FILTER_MODELS, COLLECTION_ITEM_MODELS, COLLECTION_PINNED_STATES, CapabilityError, Card, CardCompact, CardCreateInput, CardDetail, CardListFilter, CardQueryResult, CardQueryResultCompact, CardType, CardUpdateInput, ChainedRequestError, Collection, CollectionAuthorityLevel, CollectionCompact, CollectionCreateInput, CollectionId, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionItemModel, CollectionListFilter, CollectionNamespace, CollectionPinnedState, CollectionTreeNode, CollectionUpdateInput, CompiledQuery, CompiledQueryCompact, ConfigError, ContentTranslationUploadResult, CreateQueriesPermission, CreatedApiKey, CreatedApiKeyCompact, CronUiDisplayType, CurrentUser, CurrentUserCompact, Dashboard, DashboardCompact, DashboardCopy, DashboardCopyCompact, DashboardCopyInput, DashboardCreateInput, DashboardDetail, DashboardLayoutInput, DashboardListFilter, DashboardParameterConstraints, DashboardTab, DashboardTabCompact, DashboardUncopiedCard, DashboardUpdateInput, Dashcard, DashcardCompact, DashcardDetail, DashcardPatchInput, DashcardVirtualCard, DashcardVisualizationSettings, DataAction, DataActionCompact, DataActionCreateInput, DataActionExecuteInput, DataActionExecuteResult, DataActionParameter, DataActionUpdateInput, DataApp, DataAppActionDefinition, DataAppCompact, DataAppEntry, DataAppGenerateActionsInput, DataAppGenerateQueriesInput, DataAppGeneratedFile, DataAppGeneratedFiles, DataAppQueryDefinition, DataAppSlug, DataAppSummary, DataAppUpdateInput, DataModelPermission, Database, DatabaseCompact, DatabaseGetInclude, DatabaseListInclude, DatabasePermissions, DatabaseSyncResult, DatabaseUpdateInput, DatabaseVirtualTable, DatabaseVirtualTableCompact, DatasetQuery, DependencyEdge, DependencyEntity, DependencyEntityCompact, DependencyEntityData, DependencyErrorSourceType, DependencyFindingError, DependencyFindingErrorType, DependencyGraph, DependencyGraphCompact, DependencyItemsSortColumn, DependencyNode, DependencyNodeCompact, DependencyType, DependencyUsageType, DependentsSortColumn, DevelopmentBuild, Document, DocumentCompact, DocumentCopyInput, DocumentCreateInput, DocumentUpdateInput, DownloadPermission, EID_MODELS, Edition, EidModel, EidTranslateEntry, EidTranslateInput, EidTranslateResult, EidTranslateResultCompact, EmbeddingParams, Erd, ErdEdge, ErdField, ErdNode, ExportFormat, FEATURE_NAMES, FEATURE_RULES, FailedResultError, Features, Field, FieldBaseType, FieldCoercionStrategy, FieldCompact, FieldDataSensitivity, FieldDetail, FieldRemappedValue, FieldSearchMatches, FieldSemanticType, FieldSummary, FieldUpdateInput, FieldValues, FieldValuesCompact, FieldWithDataSensitivity, FieldWithDataSensitivityCompact, FieldWithTarget, Glossary, GlossaryCompact, GlossaryCreateInput, GlossaryUpdateInput, HttpError, ImplicitActionKind, InspectorField, InspectorTable, InternalError, KNOWN_RANGE, LensAlertTrigger, LensCard, LensCardDisplay, LensCardMetadata, LensComplexityLevel, LensDrillTrigger, LensMetadata, LensParams, LensSection, Library, LibraryChild, LibraryCompact, LibraryPublishTablesInput, METHOD_KEYS, METHOD_REQUIREMENTS, Measure, MeasureCompact, MeasureCreateInput, MeasureUpdateInput, MetabaseError, MetricAddableDimension, MetricAddableGroup, MetricBinning, MetricBreakoutColumn, MetricBreakoutValues, MetricDefinition, MetricDimension, MetricDimensionCompact, MetricDimensionGroup, MetricDimensionListing, MetricDimensionRef, MetricDimensionRefOptions, MetricDimensionSource, MetricDimensionStatus, MetricFilterClause, MetricInstanceFilter, MetricLeafRef, MetricLeafType, MetricMappingTarget, MetricMathExpression, MetricMathOperator, MetricProjection, ModeratedItemType, ModerationReview, ModerationReviewCompact, ModerationReviewCreateInput, ModerationStatus, NetworkError, Notification, NotificationCardPayload, NotificationCardPayloadCompact, NotificationCardPayloadPatch, NotificationChannelType, NotificationCompact, NotificationCreateInput, NotificationHandler, NotificationHandlerCompact, NotificationPayloadType, NotificationRecipient, NotificationRecipientCompact, NotificationRecipientDetails, NotificationRecipientType, NotificationSendCondition, NotificationSubscription, NotificationSubscriptionCompact, NotificationSubscriptionType, NotificationUpdateInput, Parameter, ParameterMapping, ParameterTarget, ParameterType, ParameterValues, ParameterValuesCompact, PartialWriteError, PermissionsGraph, PivotExportFormat, Pulse, PulseCard, PulseCardCompact, PulseChannel, PulseChannelCompact, PulseChannelDetails, PulseChannelType, PulseCompact, PulseCreateInput, PulseRecipient, PulseRecipientCompact, PulseScheduleDay, PulseScheduleFrame, PulseScheduleType, PulseUpdateInput, PythonLibrary, PythonLibraryUpdateInput, PythonTestRunError, PythonTestRunInput, PythonTestRunOutput, PythonTestRunResult, QueryMetadata, QueryMetadataCompact, QueryMetadataTable, ReleaseVersion, RemoteSyncState, ReplacementCheck, ReplacementColumn, ReplacementColumnError, ReplacementColumnMapping, ReplacementEntityType, ReplacementError, ReplacementModelWithTransformInput, ReplacementRun, ReplacementRunCompact, ReplacementRunStarted, ReplacementRunStatus, ReplacementSourceInput, ReplacementSourceType, RequirementFailure, RequirementReason, ResponseShapeError, ResultColumn, Revision, RevisionCompact, RevisionEntity, RevisionRevert, RevisionRevertInput, RevisionRow, SEARCH_MODELS, SearchModel, SearchResult, SearchResultCompact, Segment, SegmentCompact, SegmentCreateInput, SegmentUpdateInput, ServerProfile, ServerVersion, SessionProperties, Setting, SettingCompact, SettingValue, SetupInput, SetupResult, SetupResultCompact, Skew, Snippet, SnippetCompact, SnippetCreateInput, SnippetUpdateInput, SortDirection, StoredServerVersion, SyncBranchCreated, SyncDirtyItem, SyncDirtyItemCompact, SyncExportPreflight, SyncExportPreflightCompact, SyncExportResult, SyncForcePushCasualties, SyncImportResult, SyncMergeSummary, SyncRemoteChanges, SyncSettingsUpdateResult, SyncStashResult, SyncTask, SyncTaskCompact, SyncTaskStatus, SyncTaskType, SyncType, Table, TableBulkEditFields, TableBulkEditInput, TableBulkEditResult, TableCompact, TableDataLayer, TableDataLayerMedallion, TableDataLayerTier, TableDataSource, TableDatabase, TableFieldValuesResult, TableForeignKey, TableForeignKeyCompact, TableGetInclude, TableQueryMetadata, TableQueryMetadataCompact, TableSchemaId, TableSchemaSyncResult, TableSelectionResult, TableSelectors, TableUpdateInput, TableVisibilityType, TemporalUnit, Timeline, TimelineCompact, TimelineCreateInput, TimelineEvent, TimelineEventCompact, TimelineEventCreateInput, TimelineEventUpdateInput, TimelineIcon, TimelineUpdateInput, TimeoutError, TipTapNode, TipTapNodeInput, TokenFeatures, Transform, TransformCompact, TransformCreateInput, TransformDagDirection, TransformDagRunResult, TransformDagTransform, TransformInspection, TransformInspectionStatus, TransformJob, TransformJobActiveResult, TransformJobCompact, TransformJobCreateInput, TransformJobRunResult, TransformJobUpdateInput, TransformLens, TransformLensQueryInput, TransformMemberRun, TransformMemberRunCompact, TransformRun, TransformRunCompact, TransformRunMethod, TransformRunResult, TransformRunStatus, TransformRunSummary, TransformRunSummaryCompact, TransformRunSummarySortColumn, TransformRunSummaryType, TransformSourceTableEntry, TransformSourceTableEntryInput, TransformTag, TransformTagCompact, TransformTagCreateInput, TransformTagUpdateInput, TransformTarget, TransformTest, TransformTestColumn, TransformTestCompact, TransformTestCreateInput, TransformTestExpectation, TransformTestExpectationResult, TransformTestInput, TransformTestRefusalCode, TransformTestResultColumn, TransformTestRow, TransformTestRunResult, TransformTestTable, TransformTestUpdateInput, TransformUpdateInput, UnknownError, UnreadableCard, UploadResult, UploadUpdateAction, UploadUpdateResult, ValidationError, ValuesQueryType, ValuesSourceConfig, ValuesSourceType, ViewDataPermission, VirtualField, VirtualFieldCompact, VirtualTable, VirtualTableCompact, VisualizationSettings, YesNoPermission, assertEndpointOrigin, checkFeatures, createClient, createServerProfile, createTransport, dataActionSchema, describeVersion, displayUrl, editionFromTag, errorMessage, evaluateFeatures, featureFailures, featureGap, hasDataSensitivity, isFeatureName, isFileNotFoundError, isHttpNotFound, isMethodKey, isSyncTaskFailed, isSyncTaskTerminal, isTransformRunFailed, isTransformRunTerminal, isTransformTestCode, isTransformTestRefusalCode, methodRequirements, normalizeUrl, oauthLogin, parseJson, parseTag, pollUntil, probeServer, refreshOAuthCredential, revokeOAuthCredential, ruleGap, toMetabaseError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as FeatureName } from "./features-
|
|
1
|
+
import { i as FeatureName } from "./features-BwC2QUQB.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/version/input-gate-registry.d.ts
|
|
4
4
|
/** The gates recorded on an input property, `null` when every server takes all its values. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as ConfigError, dt as ValidationError } from "./transport-
|
|
1
|
+
import { W as ConfigError, dt as ValidationError } from "./transport-CM-eJat3.js";
|
|
2
2
|
import { ZodType } from "zod";
|
|
3
3
|
//#region src/json.d.ts
|
|
4
4
|
declare const JSON_CONTENT_TYPE = "application/json";
|
package/dist/json.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as parseJsonOrPlain, i as parseJson, n as ParseJsonOptions, o as parseJsonResult, r as ParseJsonResult, t as JSON_CONTENT_TYPE } from "./json-
|
|
1
|
+
import { a as parseJsonOrPlain, i as parseJson, n as ParseJsonOptions, o as parseJsonResult, r as ParseJsonResult, t as JSON_CONTENT_TYPE } from "./json-DK8ntK_m.js";
|
|
2
2
|
export { JSON_CONTENT_TYPE, ParseJsonOptions, ParseJsonResult, parseJson, parseJsonOrPlain, parseJsonResult };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as Features } from "./features-
|
|
2
|
-
import { r as InputGate } from "./input-gates-
|
|
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/library.d.ts
|
|
5
5
|
declare const LibraryChild: z.ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
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/measure.d.ts
|
|
4
4
|
interface MeasureArchiveParams {
|
|
@@ -1594,18 +1594,10 @@ declare const MetricDimension: z.ZodObject<{
|
|
|
1594
1594
|
}, z.core.$loose>;
|
|
1595
1595
|
type MetricDimension = z.infer<typeof MetricDimension>;
|
|
1596
1596
|
declare const MetricDimensionCompact: z.ZodObject<{
|
|
1597
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1597
1598
|
id: z.ZodString;
|
|
1598
1599
|
name: z.ZodNullable<z.ZodString>;
|
|
1599
1600
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1600
|
-
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1601
|
-
group: z.ZodOptional<z.ZodObject<{
|
|
1602
|
-
id: z.ZodString;
|
|
1603
|
-
type: z.ZodEnum<{
|
|
1604
|
-
main: "main";
|
|
1605
|
-
connection: "connection";
|
|
1606
|
-
}>;
|
|
1607
|
-
display_name: z.ZodString;
|
|
1608
|
-
}, z.core.$loose>>;
|
|
1609
1601
|
display_name: z.ZodNullable<z.ZodString>;
|
|
1610
1602
|
effective_type: z.ZodNullable<z.ZodEnum<{
|
|
1611
1603
|
"type/*": "type/*";
|
|
@@ -1771,6 +1763,14 @@ declare const MetricDimensionCompact: z.ZodObject<{
|
|
|
1771
1763
|
"status/active": "status/active";
|
|
1772
1764
|
"status/orphaned": "status/orphaned";
|
|
1773
1765
|
}>>;
|
|
1766
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
1767
|
+
id: z.ZodString;
|
|
1768
|
+
type: z.ZodEnum<{
|
|
1769
|
+
main: "main";
|
|
1770
|
+
connection: "connection";
|
|
1771
|
+
}>;
|
|
1772
|
+
display_name: z.ZodString;
|
|
1773
|
+
}, z.core.$loose>>;
|
|
1774
1774
|
}, z.core.$strip>;
|
|
1775
1775
|
type MetricDimensionCompact = z.infer<typeof MetricDimensionCompact>;
|
|
1776
1776
|
declare const MetricMappingTarget: z.ZodTuple<[z.ZodString, z.ZodObject<{}, z.core.$loose>], z.ZodUnknown>;
|
|
@@ -28,15 +28,15 @@ declare const ModerationReview: z.ZodObject<{
|
|
|
28
28
|
type ModerationReview = z.infer<typeof ModerationReview>;
|
|
29
29
|
declare const ModerationReviewCompact: z.ZodObject<{
|
|
30
30
|
id: z.ZodNumber;
|
|
31
|
+
text: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
33
|
+
verified: "verified";
|
|
34
|
+
}>>;
|
|
31
35
|
moderated_item_type: z.ZodEnum<{
|
|
32
36
|
card: "card";
|
|
33
37
|
dashboard: "dashboard";
|
|
34
38
|
}>;
|
|
35
39
|
moderated_item_id: z.ZodNumber;
|
|
36
|
-
status: z.ZodNullable<z.ZodEnum<{
|
|
37
|
-
verified: "verified";
|
|
38
|
-
}>>;
|
|
39
|
-
text: z.ZodNullable<z.ZodString>;
|
|
40
40
|
most_recent: z.ZodBoolean;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
type ModerationReviewCompact = z.infer<typeof ModerationReviewCompact>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
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 { l as NotificationCreateInput, r as Notification, t as AnyNotification, x as NotificationUpdateInput } from "./notification-
|
|
3
|
+
import { l as NotificationCreateInput, r as Notification, t as AnyNotification, x as NotificationUpdateInput } from "./notification-D1MThyKE.js";
|
|
4
4
|
//#region src/resources/notification.d.ts
|
|
5
5
|
interface NotificationListParams {
|
|
6
6
|
card_id?: number | undefined;
|
|
@@ -96,12 +96,12 @@ declare const NotificationHandler: z.ZodObject<{
|
|
|
96
96
|
}, z.core.$loose>;
|
|
97
97
|
type NotificationHandler = z.infer<typeof NotificationHandler>;
|
|
98
98
|
declare const NotificationHandlerCompact: z.ZodObject<{
|
|
99
|
-
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
100
99
|
channel_type: z.ZodEnum<{
|
|
101
100
|
"channel/email": "channel/email";
|
|
102
101
|
"channel/slack": "channel/slack";
|
|
103
102
|
"channel/http": "channel/http";
|
|
104
103
|
}>;
|
|
104
|
+
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105
105
|
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
106
|
type: z.ZodEnum<{
|
|
107
107
|
"notification-recipient/user": "notification-recipient/user";
|
|
@@ -314,12 +314,12 @@ declare const NotificationCompact: z.ZodObject<{
|
|
|
314
314
|
cron_schedule: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
315
|
}, z.core.$strip>>;
|
|
316
316
|
handlers: z.ZodArray<z.ZodObject<{
|
|
317
|
-
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
318
317
|
channel_type: z.ZodEnum<{
|
|
319
318
|
"channel/email": "channel/email";
|
|
320
319
|
"channel/slack": "channel/slack";
|
|
321
320
|
"channel/http": "channel/http";
|
|
322
321
|
}>;
|
|
322
|
+
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
323
323
|
recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
324
324
|
type: z.ZodEnum<{
|
|
325
325
|
"notification-recipient/user": "notification-recipient/user";
|
package/dist/paginate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as paginatePages, i as PaginatedEnvelope, n as Page, r as PaginateOptions, t as DEFAULT_PAGE_SIZE } from "./paginate-
|
|
1
|
+
import { a as paginatePages, i as PaginatedEnvelope, n as Page, r as PaginateOptions, t as DEFAULT_PAGE_SIZE } from "./paginate-CPjKDJ2m.js";
|
|
2
2
|
export { DEFAULT_PAGE_SIZE, Page, PaginateOptions, PaginatedEnvelope, paginatePages };
|
|
@@ -3,9 +3,10 @@ import { z } from "zod";
|
|
|
3
3
|
declare const ParameterType: z.ZodEnum<{
|
|
4
4
|
number: "number";
|
|
5
5
|
boolean: "boolean";
|
|
6
|
-
id: "id";
|
|
7
6
|
date: "date";
|
|
7
|
+
id: "id";
|
|
8
8
|
text: "text";
|
|
9
|
+
"temporal-unit": "temporal-unit";
|
|
9
10
|
"date/single": "date/single";
|
|
10
11
|
category: "category";
|
|
11
12
|
"location/city": "location/city";
|
|
@@ -17,7 +18,6 @@ declare const ParameterType: z.ZodEnum<{
|
|
|
17
18
|
"date/quarter-year": "date/quarter-year";
|
|
18
19
|
"date/relative": "date/relative";
|
|
19
20
|
"date/all-options": "date/all-options";
|
|
20
|
-
"temporal-unit": "temporal-unit";
|
|
21
21
|
"number/!=": "number/!=";
|
|
22
22
|
"number/<=": "number/<=";
|
|
23
23
|
"number/=": "number/=";
|
|
@@ -88,9 +88,10 @@ declare const Parameter: z.ZodObject<{
|
|
|
88
88
|
type: z.ZodEnum<{
|
|
89
89
|
number: "number";
|
|
90
90
|
boolean: "boolean";
|
|
91
|
-
id: "id";
|
|
92
91
|
date: "date";
|
|
92
|
+
id: "id";
|
|
93
93
|
text: "text";
|
|
94
|
+
"temporal-unit": "temporal-unit";
|
|
94
95
|
"date/single": "date/single";
|
|
95
96
|
category: "category";
|
|
96
97
|
"location/city": "location/city";
|
|
@@ -102,7 +103,6 @@ declare const Parameter: z.ZodObject<{
|
|
|
102
103
|
"date/quarter-year": "date/quarter-year";
|
|
103
104
|
"date/relative": "date/relative";
|
|
104
105
|
"date/all-options": "date/all-options";
|
|
105
|
-
"temporal-unit": "temporal-unit";
|
|
106
106
|
"number/!=": "number/!=";
|
|
107
107
|
"number/<=": "number/<=";
|
|
108
108
|
"number/=": "number/=";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as InputGate } from "./input-gates-
|
|
1
|
+
import { r as InputGate } from "./input-gates-DLCSnwRf.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/domain/pulse.d.ts
|
|
4
4
|
declare const PulseChannelType: z.ZodEnum<{
|
|
5
|
-
http: "http";
|
|
6
5
|
email: "email";
|
|
7
6
|
slack: "slack";
|
|
7
|
+
http: "http";
|
|
8
8
|
}>;
|
|
9
9
|
type PulseChannelType = z.infer<typeof PulseChannelType>;
|
|
10
10
|
declare const PulseScheduleType: z.ZodEnum<{
|
|
@@ -47,9 +47,9 @@ type PulseRecipientCompact = z.infer<typeof PulseRecipientCompact>;
|
|
|
47
47
|
declare const PulseChannel: z.ZodObject<{
|
|
48
48
|
id: z.ZodOptional<z.ZodNumber>;
|
|
49
49
|
channel_type: z.ZodEnum<{
|
|
50
|
-
http: "http";
|
|
51
50
|
email: "email";
|
|
52
51
|
slack: "slack";
|
|
52
|
+
http: "http";
|
|
53
53
|
}>;
|
|
54
54
|
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
55
|
enabled: z.ZodBoolean;
|
|
@@ -85,14 +85,14 @@ declare const PulseChannel: z.ZodObject<{
|
|
|
85
85
|
type PulseChannel = z.infer<typeof PulseChannel>;
|
|
86
86
|
declare const PulseChannelCompact: z.ZodObject<{
|
|
87
87
|
enabled: z.ZodBoolean;
|
|
88
|
-
details: z.ZodOptional<z.ZodObject<{
|
|
89
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
90
|
-
}, z.core.$loose>>;
|
|
91
88
|
channel_type: z.ZodEnum<{
|
|
92
|
-
http: "http";
|
|
93
89
|
email: "email";
|
|
94
90
|
slack: "slack";
|
|
91
|
+
http: "http";
|
|
95
92
|
}>;
|
|
93
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$loose>>;
|
|
96
96
|
schedule_type: z.ZodEnum<{
|
|
97
97
|
hourly: "hourly";
|
|
98
98
|
daily: "daily";
|
|
@@ -149,9 +149,10 @@ declare const Pulse: z.ZodObject<{
|
|
|
149
149
|
type: z.ZodEnum<{
|
|
150
150
|
number: "number";
|
|
151
151
|
boolean: "boolean";
|
|
152
|
-
id: "id";
|
|
153
152
|
date: "date";
|
|
153
|
+
id: "id";
|
|
154
154
|
text: "text";
|
|
155
|
+
"temporal-unit": "temporal-unit";
|
|
155
156
|
"date/single": "date/single";
|
|
156
157
|
category: "category";
|
|
157
158
|
"location/city": "location/city";
|
|
@@ -163,7 +164,6 @@ declare const Pulse: z.ZodObject<{
|
|
|
163
164
|
"date/quarter-year": "date/quarter-year";
|
|
164
165
|
"date/relative": "date/relative";
|
|
165
166
|
"date/all-options": "date/all-options";
|
|
166
|
-
"temporal-unit": "temporal-unit";
|
|
167
167
|
"number/!=": "number/!=";
|
|
168
168
|
"number/<=": "number/<=";
|
|
169
169
|
"number/=": "number/=";
|
|
@@ -236,9 +236,9 @@ declare const Pulse: z.ZodObject<{
|
|
|
236
236
|
channels: z.ZodArray<z.ZodObject<{
|
|
237
237
|
id: z.ZodOptional<z.ZodNumber>;
|
|
238
238
|
channel_type: z.ZodEnum<{
|
|
239
|
-
http: "http";
|
|
240
239
|
email: "email";
|
|
241
240
|
slack: "slack";
|
|
241
|
+
http: "http";
|
|
242
242
|
}>;
|
|
243
243
|
channel_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
244
|
enabled: z.ZodBoolean;
|
|
@@ -289,14 +289,14 @@ declare const PulseCompact: z.ZodObject<{
|
|
|
289
289
|
}, z.core.$strip>>;
|
|
290
290
|
channels: z.ZodArray<z.ZodObject<{
|
|
291
291
|
enabled: z.ZodBoolean;
|
|
292
|
-
details: z.ZodOptional<z.ZodObject<{
|
|
293
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
294
|
-
}, z.core.$loose>>;
|
|
295
292
|
channel_type: z.ZodEnum<{
|
|
296
|
-
http: "http";
|
|
297
293
|
email: "email";
|
|
298
294
|
slack: "slack";
|
|
295
|
+
http: "http";
|
|
299
296
|
}>;
|
|
297
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
299
|
+
}, z.core.$loose>>;
|
|
300
300
|
schedule_type: z.ZodEnum<{
|
|
301
301
|
hourly: "hourly";
|
|
302
302
|
daily: "daily";
|
|
@@ -339,9 +339,9 @@ declare const PulseCreateInput: z.ZodObject<{
|
|
|
339
339
|
}, z.core.$loose>>;
|
|
340
340
|
channels: z.ZodArray<z.ZodObject<{
|
|
341
341
|
channel_type: z.ZodEnum<{
|
|
342
|
-
http: "http";
|
|
343
342
|
email: "email";
|
|
344
343
|
slack: "slack";
|
|
344
|
+
http: "http";
|
|
345
345
|
}>;
|
|
346
346
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
347
347
|
schedule_type: z.ZodEnum<{
|
|
@@ -381,9 +381,10 @@ declare const PulseCreateInput: z.ZodObject<{
|
|
|
381
381
|
type: z.ZodEnum<{
|
|
382
382
|
number: "number";
|
|
383
383
|
boolean: "boolean";
|
|
384
|
-
id: "id";
|
|
385
384
|
date: "date";
|
|
385
|
+
id: "id";
|
|
386
386
|
text: "text";
|
|
387
|
+
"temporal-unit": "temporal-unit";
|
|
387
388
|
"date/single": "date/single";
|
|
388
389
|
category: "category";
|
|
389
390
|
"location/city": "location/city";
|
|
@@ -395,7 +396,6 @@ declare const PulseCreateInput: z.ZodObject<{
|
|
|
395
396
|
"date/quarter-year": "date/quarter-year";
|
|
396
397
|
"date/relative": "date/relative";
|
|
397
398
|
"date/all-options": "date/all-options";
|
|
398
|
-
"temporal-unit": "temporal-unit";
|
|
399
399
|
"number/!=": "number/!=";
|
|
400
400
|
"number/<=": "number/<=";
|
|
401
401
|
"number/=": "number/=";
|
|
@@ -472,9 +472,9 @@ declare const PulseUpdateInput: z.ZodObject<{
|
|
|
472
472
|
}, z.core.$loose>>>;
|
|
473
473
|
channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
474
474
|
channel_type: z.ZodEnum<{
|
|
475
|
-
http: "http";
|
|
476
475
|
email: "email";
|
|
477
476
|
slack: "slack";
|
|
477
|
+
http: "http";
|
|
478
478
|
}>;
|
|
479
479
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
480
480
|
schedule_type: z.ZodEnum<{
|
|
@@ -515,9 +515,10 @@ declare const PulseUpdateInput: z.ZodObject<{
|
|
|
515
515
|
type: z.ZodEnum<{
|
|
516
516
|
number: "number";
|
|
517
517
|
boolean: "boolean";
|
|
518
|
-
id: "id";
|
|
519
518
|
date: "date";
|
|
519
|
+
id: "id";
|
|
520
520
|
text: "text";
|
|
521
|
+
"temporal-unit": "temporal-unit";
|
|
521
522
|
"date/single": "date/single";
|
|
522
523
|
category: "category";
|
|
523
524
|
"location/city": "location/city";
|
|
@@ -529,7 +530,6 @@ declare const PulseUpdateInput: z.ZodObject<{
|
|
|
529
530
|
"date/quarter-year": "date/quarter-year";
|
|
530
531
|
"date/relative": "date/relative";
|
|
531
532
|
"date/all-options": "date/all-options";
|
|
532
|
-
"temporal-unit": "temporal-unit";
|
|
533
533
|
"number/!=": "number/!=";
|
|
534
534
|
"number/<=": "number/<=";
|
|
535
535
|
"number/=": "number/=";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
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 { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-
|
|
3
|
+
import { h as PulseUpdateInput, l as PulseCreateInput, t as Pulse } from "./pulse-BgS7Y3MU.js";
|
|
4
4
|
//#region src/resources/pulse.d.ts
|
|
5
5
|
interface PulseListParams {
|
|
6
6
|
dashboard_id?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InternalError, isNonInterruptFailure } from "./errors.js";
|
|
2
2
|
import { isPlainObject } from "./predicates.js";
|
|
3
|
-
import { a as HttpError } from "./errors-
|
|
3
|
+
import { a as HttpError } from "./errors-D5mjCJCW.js";
|
|
4
4
|
import { CapabilityError } from "./version/capability-error.js";
|
|
5
5
|
import { profileFromProperties } from "./version/probe.js";
|
|
6
6
|
import { checkFeatures, featureFailures } from "./version/requirement-check.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/domain/replacement.d.ts
|
|
3
3
|
declare const ReplacementSourceType: z.ZodEnum<{
|
|
4
|
-
table: "table";
|
|
5
4
|
card: "card";
|
|
5
|
+
table: "table";
|
|
6
6
|
}>;
|
|
7
7
|
type ReplacementSourceType = z.infer<typeof ReplacementSourceType>;
|
|
8
8
|
declare const ReplacementEntityType: z.ZodEnum<{
|
|
9
|
-
transform: "transform";
|
|
10
|
-
table: "table";
|
|
11
9
|
card: "card";
|
|
10
|
+
table: "table";
|
|
11
|
+
transform: "transform";
|
|
12
12
|
}>;
|
|
13
13
|
type ReplacementEntityType = z.infer<typeof ReplacementEntityType>;
|
|
14
14
|
declare const ReplacementRunStatus: z.ZodEnum<{
|
|
@@ -32,15 +32,15 @@ declare const ReplacementRun: z.ZodObject<{
|
|
|
32
32
|
}>;
|
|
33
33
|
is_active: z.ZodNullable<z.ZodLiteral<true>>;
|
|
34
34
|
source_entity_type: z.ZodEnum<{
|
|
35
|
-
transform: "transform";
|
|
36
|
-
table: "table";
|
|
37
35
|
card: "card";
|
|
36
|
+
table: "table";
|
|
37
|
+
transform: "transform";
|
|
38
38
|
}>;
|
|
39
39
|
source_entity_id: z.ZodNumber;
|
|
40
40
|
target_entity_type: z.ZodEnum<{
|
|
41
|
-
transform: "transform";
|
|
42
|
-
table: "table";
|
|
43
41
|
card: "card";
|
|
42
|
+
table: "table";
|
|
43
|
+
transform: "transform";
|
|
44
44
|
}>;
|
|
45
45
|
target_entity_id: z.ZodNumber;
|
|
46
46
|
progress: z.ZodNullable<z.ZodNumber>;
|
|
@@ -53,6 +53,12 @@ type ReplacementRun = z.infer<typeof ReplacementRun>;
|
|
|
53
53
|
declare const ReplacementRunCompact: z.ZodObject<{
|
|
54
54
|
message: z.ZodNullable<z.ZodString>;
|
|
55
55
|
id: z.ZodNumber;
|
|
56
|
+
source_entity_type: z.ZodEnum<{
|
|
57
|
+
card: "card";
|
|
58
|
+
table: "table";
|
|
59
|
+
transform: "transform";
|
|
60
|
+
}>;
|
|
61
|
+
source_entity_id: z.ZodNumber;
|
|
56
62
|
status: z.ZodEnum<{
|
|
57
63
|
pending: "pending";
|
|
58
64
|
started: "started";
|
|
@@ -61,17 +67,11 @@ declare const ReplacementRunCompact: z.ZodObject<{
|
|
|
61
67
|
canceled: "canceled";
|
|
62
68
|
timeout: "timeout";
|
|
63
69
|
}>;
|
|
64
|
-
source_entity_type: z.ZodEnum<{
|
|
65
|
-
transform: "transform";
|
|
66
|
-
table: "table";
|
|
67
|
-
card: "card";
|
|
68
|
-
}>;
|
|
69
|
-
source_entity_id: z.ZodNumber;
|
|
70
70
|
progress: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
target_entity_type: z.ZodEnum<{
|
|
72
|
-
transform: "transform";
|
|
73
|
-
table: "table";
|
|
74
72
|
card: "card";
|
|
73
|
+
table: "table";
|
|
74
|
+
transform: "transform";
|
|
75
75
|
}>;
|
|
76
76
|
target_entity_id: z.ZodNumber;
|
|
77
77
|
start_time: z.ZodString;
|
|
@@ -2422,13 +2422,13 @@ type ReplacementCheck = z.infer<typeof ReplacementCheck>;
|
|
|
2422
2422
|
declare const ReplacementSourceInput: z.ZodObject<{
|
|
2423
2423
|
source_entity_id: z.ZodNumber;
|
|
2424
2424
|
source_entity_type: z.ZodEnum<{
|
|
2425
|
-
table: "table";
|
|
2426
2425
|
card: "card";
|
|
2426
|
+
table: "table";
|
|
2427
2427
|
}>;
|
|
2428
2428
|
target_entity_id: z.ZodNumber;
|
|
2429
2429
|
target_entity_type: z.ZodEnum<{
|
|
2430
|
-
table: "table";
|
|
2431
2430
|
card: "card";
|
|
2431
|
+
table: "table";
|
|
2432
2432
|
}>;
|
|
2433
2433
|
}, z.core.$strict>;
|
|
2434
2434
|
type ReplacementSourceInput = z.infer<typeof ReplacementSourceInput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "./transport-
|
|
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/replacement.d.ts
|
|
4
4
|
interface ReplacementRunListParams {
|
|
@@ -7,9 +7,9 @@ interface ReplacementRunListParams {
|
|
|
7
7
|
declare function replacementResource(transport: Transport): {
|
|
8
8
|
checkReplaceSource: (params: {
|
|
9
9
|
source_entity_id: number;
|
|
10
|
-
source_entity_type: "
|
|
10
|
+
source_entity_type: "card" | "table";
|
|
11
11
|
target_entity_id: number;
|
|
12
|
-
target_entity_type: "
|
|
12
|
+
target_entity_type: "card" | "table";
|
|
13
13
|
}, options?: RequestOptions | undefined) => Promise<{
|
|
14
14
|
success: boolean;
|
|
15
15
|
errors?: ("cycle-detected" | "database-mismatch" | "incompatible-implicit-joins" | "affects-gtap-policies")[] | undefined;
|
|
@@ -53,9 +53,9 @@ declare function replacementResource(transport: Transport): {
|
|
|
53
53
|
}>;
|
|
54
54
|
replaceSource: (params: {
|
|
55
55
|
source_entity_id: number;
|
|
56
|
-
source_entity_type: "
|
|
56
|
+
source_entity_type: "card" | "table";
|
|
57
57
|
target_entity_id: number;
|
|
58
|
-
target_entity_type: "
|
|
58
|
+
target_entity_type: "card" | "table";
|
|
59
59
|
}, options?: RequestOptions | undefined) => Promise<{
|
|
60
60
|
run_id: number;
|
|
61
61
|
}>;
|
|
@@ -97,9 +97,9 @@ declare function replacementResource(transport: Transport): {
|
|
|
97
97
|
id: number;
|
|
98
98
|
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
99
99
|
is_active: true | null;
|
|
100
|
-
source_entity_type: "
|
|
100
|
+
source_entity_type: "card" | "table" | "transform";
|
|
101
101
|
source_entity_id: number;
|
|
102
|
-
target_entity_type: "
|
|
102
|
+
target_entity_type: "card" | "table" | "transform";
|
|
103
103
|
target_entity_id: number;
|
|
104
104
|
progress: number | null;
|
|
105
105
|
message: string | null;
|
|
@@ -112,9 +112,9 @@ declare function replacementResource(transport: Transport): {
|
|
|
112
112
|
id: number;
|
|
113
113
|
status: "pending" | "started" | "succeeded" | "failed" | "canceled" | "timeout";
|
|
114
114
|
is_active: true | null;
|
|
115
|
-
source_entity_type: "
|
|
115
|
+
source_entity_type: "card" | "table" | "transform";
|
|
116
116
|
source_entity_id: number;
|
|
117
|
-
target_entity_type: "
|
|
117
|
+
target_entity_type: "card" | "table" | "transform";
|
|
118
118
|
target_entity_id: number;
|
|
119
119
|
progress: number | null;
|
|
120
120
|
message: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as FeatureName } from "./features-
|
|
2
|
-
import { b as RequirementFailure, yt as ServerProfile } from "./transport-
|
|
1
|
+
import { i as FeatureName } from "./features-BwC2QUQB.js";
|
|
2
|
+
import { b as RequirementFailure, yt as ServerProfile } from "./transport-CM-eJat3.js";
|
|
3
3
|
//#region src/version/requirement-check.d.ts
|
|
4
4
|
/** The first of `features` the profile lacks, or `null` when it has every one. */
|
|
5
5
|
declare function checkFeatures(features: readonly FeatureName[], profile: ServerProfile): RequirementFailure | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as FeatureName } from "./features-
|
|
1
|
+
import { i as FeatureName } from "./features-BwC2QUQB.js";
|
|
2
2
|
//#region src/version/requirements.d.ts
|
|
3
3
|
declare const METHOD_REQUIREMENTS: {
|
|
4
4
|
"apiKey.list": never[];
|
|
@@ -40,11 +40,10 @@ declare const METHOD_REQUIREMENTS: {
|
|
|
40
40
|
"dataAction.execute": never[];
|
|
41
41
|
"dataApp.list": "dataApps"[];
|
|
42
42
|
"dataApp.get": "dataApps"[];
|
|
43
|
-
"dataApp.create": "dataApps"[];
|
|
44
43
|
"dataApp.update": "dataApps"[];
|
|
45
|
-
"dataApp.
|
|
46
|
-
"dataApp.
|
|
47
|
-
"dataApp.
|
|
44
|
+
"dataApp.generateSchema": "dataApps"[];
|
|
45
|
+
"dataApp.generateQueries": "dataApps"[];
|
|
46
|
+
"dataApp.generateActions": "dataApps"[];
|
|
48
47
|
"database.list": never[];
|
|
49
48
|
"database.get": never[];
|
|
50
49
|
"database.update": never[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as RequestOptions, h as Transport } from "../transport-
|
|
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
|
import { i as CreatedApiKey, r as ApiKeyCreateInput, t as ApiKey } from "../api-key-DJeN1-7G.js";
|
|
4
4
|
//#region src/resources/api-key.d.ts
|
package/dist/resources/card.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as cardResource, n as CardListParams, r as CardQueryParams, t as CardExportParams } from "../card-
|
|
1
|
+
import { i as cardResource, n as CardListParams, r as CardQueryParams, t as CardExportParams } from "../card-Ik580mDC.js";
|
|
2
2
|
export { CardExportParams, CardListParams, CardQueryParams, cardResource };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as collectionResource, i as CollectionTreeParams, n as CollectionItemPageOptions, o as listCollectionsAs, r as CollectionListParams, t as CollectionItemListParams } from "../collection-
|
|
1
|
+
import { a as collectionResource, i as CollectionTreeParams, n as CollectionItemPageOptions, o as listCollectionsAs, r as CollectionListParams, t as CollectionItemListParams } from "../collection-B31DGW6J.js";
|
|
2
2
|
export { CollectionItemListParams, CollectionItemPageOptions, CollectionListParams, CollectionTreeParams, collectionResource, listCollectionsAs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Collection, CollectionItem, CollectionTreeNode } from "../domain/collection.js";
|
|
2
2
|
import { paginatePages } from "../paginate.js";
|
|
3
|
-
import { t as explainer } from "../refusal-
|
|
3
|
+
import { t as explainer } from "../refusal-CvN0pxPR.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/resources/collection.ts
|
|
6
6
|
const CollectionApiList = z.array(Collection);
|