@gooddata/sdk-backend-tiger 11.55.0 → 11.56.0-alpha.1
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/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/auth.d.ts.map +1 -1
- package/esm/backend/features/feature.d.ts.map +1 -1
- package/esm/backend/features/feature.js +1 -3
- package/esm/backend/features/index.d.ts.map +1 -1
- package/esm/backend/index.d.ts.map +1 -1
- package/esm/backend/organization/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/organization/exportTemplates.d.ts.map +1 -1
- package/esm/backend/organization/fromBackend/userConvertor.d.ts.map +1 -1
- package/esm/backend/organization/index.d.ts.map +1 -1
- package/esm/backend/organization/notificationChannels.d.ts +1 -1
- package/esm/backend/organization/notificationChannels.d.ts.map +1 -1
- package/esm/backend/organization/notifications.d.ts.map +1 -1
- package/esm/backend/organization/permissions.d.ts.map +1 -1
- package/esm/backend/organization/securitySettings.d.ts.map +1 -1
- package/esm/backend/organization/styling.d.ts.map +1 -1
- package/esm/backend/organization/users.d.ts.map +1 -1
- package/esm/backend/tigerSpecificFunctions.d.ts +1 -1
- package/esm/backend/tigerSpecificFunctions.d.ts.map +1 -1
- package/esm/backend/uiFeatures.d.ts +3 -9
- package/esm/backend/uiFeatures.d.ts.map +1 -1
- package/esm/backend/uiFeatures.js +4 -11
- package/esm/backend/uiSettings.d.ts.map +1 -1
- package/esm/backend/workspace/attributeHierarchies/index.d.ts.map +1 -1
- package/esm/backend/workspace/attributes/elements/date.d.ts.map +1 -1
- package/esm/backend/workspace/attributes/index.d.ts +1 -1
- package/esm/backend/workspace/attributes/index.d.ts.map +1 -1
- package/esm/backend/workspace/automations/automationsQuery.d.ts.map +1 -1
- package/esm/backend/workspace/automations/index.d.ts +4 -4
- package/esm/backend/workspace/automations/index.d.ts.map +1 -1
- package/esm/backend/workspace/catalog/availableItemsFactory.d.ts.map +1 -1
- package/esm/backend/workspace/catalog/factory.d.ts.map +1 -1
- package/esm/backend/workspace/dashboards/index.d.ts +23 -23
- package/esm/backend/workspace/dashboards/index.d.ts.map +1 -1
- package/esm/backend/workspace/dashboards/index.js +1 -4
- package/esm/backend/workspace/dataFilters/index.d.ts.map +1 -1
- package/esm/backend/workspace/execution/executionResult.d.ts +3 -3
- package/esm/backend/workspace/execution/executionResult.d.ts.map +1 -1
- package/esm/backend/workspace/execution/preparedExecution.d.ts.map +1 -1
- package/esm/backend/workspace/execution/utils.d.ts.map +1 -1
- package/esm/backend/workspace/exportDefinitions/index.d.ts +1 -1
- package/esm/backend/workspace/exportDefinitions/index.d.ts.map +1 -1
- package/esm/backend/workspace/exportTemplates.d.ts.map +1 -1
- package/esm/backend/workspace/facts/index.d.ts.map +1 -1
- package/esm/backend/workspace/index.d.ts.map +1 -1
- package/esm/backend/workspace/insights/index.d.ts +4 -4
- package/esm/backend/workspace/insights/index.d.ts.map +1 -1
- package/esm/backend/workspace/measures/index.d.ts.map +1 -1
- package/esm/backend/workspace/measures/measureExpressionTokens.d.ts.map +1 -1
- package/esm/backend/workspace/reports.d.ts.map +1 -1
- package/esm/backend/workspace/reports.js +25 -12
- package/esm/backend/workspace/styling/index.d.ts.map +1 -1
- package/esm/convertors/fromBackend/AccessControlConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/AutomationConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/CatalogConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/CatalogConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/DateFilterConfigurationConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts +2 -2
- package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ExportMetadataConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/GraphConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/IdSanitization.d.ts.map +1 -1
- package/esm/convertors/fromBackend/InsightConverter.d.ts +3 -3
- package/esm/convertors/fromBackend/InsightConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/MetadataConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/MetadataConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/NotificationChannelsConvertor.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ReportsConverter.d.ts +4 -4
- package/esm/convertors/fromBackend/ReportsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ReportsConverter.js +16 -3
- package/esm/convertors/fromBackend/SettingsConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/SettingsConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/UsersConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/WorkspaceConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/afm/FilterConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts +1 -1
- package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts +2 -2
- package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts.map +1 -1
- package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts +1 -1
- package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts.map +1 -1
- package/esm/convertors/fromBackend/genAIConvertor.d.ts.map +1 -1
- package/esm/convertors/fromBackend/genAIConvertor.js +3 -0
- package/esm/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/AutomationConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ColorPaletteConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts +6 -6
- package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ExportMetadataConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/IdSanitization.d.ts.map +1 -1
- package/esm/convertors/toBackend/InsightConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/ThemeConverter.d.ts.map +1 -1
- package/esm/convertors/toBackend/WorkspaceConverter.d.ts.map +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/sdk-backend-tiger.d.ts +1 -34
- package/esm/types/refTypeMapping.d.ts +1 -34
- package/esm/types/refTypeMapping.d.ts.map +1 -1
- package/esm/utils/api.d.ts +4 -4
- package/esm/utils/api.d.ts.map +1 -1
- package/esm/utils/downloadFile.d.ts +1 -1
- package/esm/utils/downloadFile.d.ts.map +1 -1
- package/esm/utils/errorHandling.js +16 -3
- package/esm/utils/filterLocalidentifier.d.ts.map +1 -1
- package/esm/utils/fixNumber.d.ts.map +1 -1
- package/esm/utils/jwt.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -9,12 +9,12 @@ type MetadataObjectDefinition<T extends ITigerFilter | ITigerFilterContextItem =
|
|
|
9
9
|
filtersByTab?: Record<string, ITigerFilterContextItem[]>;
|
|
10
10
|
parametersByTab?: Record<string, IDashboardExportParameter[]>;
|
|
11
11
|
};
|
|
12
|
-
export declare const wrapExportDefinition: (requestPayload: IExportDefinitionRequestPayload, metadata?: MetadataObjectDefinition
|
|
12
|
+
export declare const wrapExportDefinition: (requestPayload: IExportDefinitionRequestPayload, metadata?: MetadataObjectDefinition) => IExportDefinitionMetadataObject;
|
|
13
13
|
export declare const convertDashboardTabularExportRequest: (exportRequest: JsonApiAutomationInAttributesDashboardTabularExportsInner) => IExportDefinitionDashboardRequestPayload | IExportDefinitionVisualizationObjectRequestPayload;
|
|
14
14
|
export declare const convertVisualExportRequest: (exportRequest: AutomationAutomationVisualExport) => IExportDefinitionDashboardRequestPayload;
|
|
15
15
|
export declare const convertToRawExportRequest: (exportRequest: JsonApiAutomationInAttributesRawExportsInner) => IExportDefinitionVisualizationObjectRequestPayload;
|
|
16
16
|
export declare const convertImageExportRequest: (exportRequest: AutomationAutomationImageExport) => IExportDefinitionVisualizationObjectRequestPayload;
|
|
17
|
-
export declare const convertSlidesExportRequest: (exportRequest: AutomationAutomationSlidesExport) =>
|
|
17
|
+
export declare const convertSlidesExportRequest: (exportRequest: AutomationAutomationSlidesExport) => IExportDefinitionVisualizationObjectRequestPayload | IExportDefinitionDashboardRequestPayload;
|
|
18
18
|
export declare const convertTabularExportRequest: (exportRequest: AutomationAutomationTabularExport) => IExportDefinitionVisualizationObjectRequestPayload;
|
|
19
19
|
export declare const convertExportDefinitionMdObject: (exportDefinitionOut: JsonApiExportDefinitionOutWithLinks, included?: JsonApiExportDefinitionOutIncludes[]) => IExportDefinitionMetadataObject;
|
|
20
20
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EAErC,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,yDAAyD,EAC9D,KAAK,4CAA4C,EACjD,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAI3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,wCAAwC,EAE7C,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AAsC7B,KAAK,wBAAwB,CAAC,CAAC,SAAS,YAAY,GAAG,uBAAuB,GAAG,uBAAuB,IAAI;IACxG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,CAAC,CAAC;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAAC;CACjE,CAAC;AASF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EAErC,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,yDAAyD,EAC9D,KAAK,4CAA4C,EACjD,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAI3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,wCAAwC,EAE7C,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AAsC7B,KAAK,wBAAwB,CAAC,CAAC,SAAS,YAAY,GAAG,uBAAuB,GAAG,uBAAuB,IAAI;IACxG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,CAAC,CAAC;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAAC;CACjE,CAAC;AASF,eAAO,MAAM,oBAAoB,mBACb,+BAA+B,aACpC,wBAAwB,KACpC,+BAeF,CAAC;AAEF,eAAO,MAAM,oCAAoC,kBAC9B,yDAAyD,KACzE,wCAAwC,GAAG,kDA4D7C,CAAC;AAEF,eAAO,MAAM,0BAA0B,kBACpB,gCAAgC,KAChD,wCAmCF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACnB,4CAA4C,KAC5D,kDAwBF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACnB,+BAA+B,KAC/C,kDAqBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,kBACpB,gCAAgC,KAChD,kDAAkD,GAAG,wCAoDvD,CAAC;AAEF,eAAO,MAAM,2BAA2B,kBACrB,iCAAiC,KACjD,kDAiCF,CAAC;AAEF,eAAO,MAAM,+BAA+B,wBACnB,mCAAmC,aAC9C,kCAAkC,EAAE,KAC/C,+BAgCF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG/E,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG/E,eAAO,MAAM,qBAAqB,mBAAoB,GAAG,KAAG,OAAO,CAAC,eAAe,CAAC,GAAG,IA8BtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/GraphConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAS,MAAM,qBAAqB,CAAC;AAE3E,UAAU,UAAU;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,2CAA2C,
|
|
1
|
+
{"version":3,"file":"GraphConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/GraphConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAS,MAAM,qBAAqB,CAAC;AAE3E,UAAU,UAAU;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,2CAA2C,SAAU,UAAU,KAAG,wBAY9E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,SAAU,GAAG,QAOzC,CAAC;AAEP;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type JsonApiVisualizationObjectOut, type JsonApiVisualizationObjectOutList, type JsonApiVisualizationObjectOutWithLinks } from "@gooddata/api-client-tiger";
|
|
1
|
+
import { type JsonApiAnalyticalDashboardOutIncludes, type JsonApiComputedAttributeOutIncludes, type JsonApiVisualizationObjectOut, type JsonApiVisualizationObjectOutList, type JsonApiVisualizationObjectOutWithLinks } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IInsight, type IInsightDefinition, type IUser } from "@gooddata/sdk-model";
|
|
3
|
-
export declare const insightFromInsightDefinition: (insight: IInsightDefinition, id: string, uri: string, tags: string[] | undefined, isLocked: boolean | undefined, isHidden: boolean | undefined, created: string | undefined, updated: string | undefined, createdBy: IUser | undefined, updatedBy: IUser | undefined, certification?:
|
|
4
|
-
export declare const visualizationObjectsItemToInsight: (visualizationObject: JsonApiVisualizationObjectOut | JsonApiVisualizationObjectOutWithLinks, included?: (
|
|
3
|
+
export declare const insightFromInsightDefinition: (insight: IInsightDefinition, id: string, uri: string, tags: string[] | undefined, isLocked: boolean | undefined, isHidden: boolean | undefined, created: string | undefined, updated: string | undefined, createdBy: IUser | undefined, updatedBy: IUser | undefined, certification?: IInsight["insight"]["certification"]) => IInsight;
|
|
4
|
+
export declare const visualizationObjectsItemToInsight: (visualizationObject: JsonApiVisualizationObjectOut | JsonApiVisualizationObjectOutWithLinks, included?: (JsonApiAnalyticalDashboardOutIncludes | JsonApiComputedAttributeOutIncludes)[]) => IInsight;
|
|
5
5
|
export declare const convertVisualizationObjectsToInsights: (visualizationObjects: JsonApiVisualizationObjectOutList) => IInsight[];
|
|
6
6
|
//# sourceMappingURL=InsightConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/InsightConverter.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/InsightConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAG9C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,KAAK,KAAK,EAAS,MAAM,qBAAqB,CAAC;AAOhG,eAAO,MAAM,4BAA4B,YAC5B,kBAAkB,MACvB,MAAM,OACL,MAAM,QACL,MAAM,EAAE,GAAG,SAAS,YAChB,OAAO,GAAG,SAAS,YACnB,OAAO,GAAG,SAAS,WACpB,MAAM,GAAG,SAAS,WAClB,MAAM,GAAG,SAAS,aAChB,KAAK,GAAG,SAAS,aACjB,KAAK,GAAG,SAAS,kBACZ,QAAQ,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,KACrD,QAiBF,CAAC;AAEF,eAAO,MAAM,iCAAiC,wBACrB,6BAA6B,GAAG,sCAAsC,aACjF,CAAC,qCAAqC,GAAG,mCAAmC,CAAC,EAAE,KAC1F,QA2BF,CAAC;AAEF,eAAO,MAAM,qCAAqC,yBACxB,iCAAiC,KACxD,QAAQ,EAIV,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type JsonApiAnalyticalDashboardOutWithLinks, type JsonApiAttributeOut,
|
|
|
2
2
|
import { type IMetadataObjectBuilder } from "@gooddata/sdk-backend-base";
|
|
3
3
|
import { type IAttributeDisplayFormMetadataObject, type IAttributeMetadataObject, type IDashboardMetadataObject, type IDataSetMetadataObject, type IFactMetadataObject, type IMeasureMetadataObject } from "@gooddata/sdk-model";
|
|
4
4
|
export type MetadataObjectFromApi = JsonApiAttributeOutWithLinks | JsonApiComputedAttributeOutWithLinks | JsonApiFactOutWithLinks | JsonApiMetricOutWithLinks | JsonApiLabelOutWithLinks | JsonApiDatasetOutWithLinks | JsonApiAnalyticalDashboardOutWithLinks;
|
|
5
|
-
export declare const commonMetadataObjectModifications: <TItem extends MetadataObjectFromApi, T extends IMetadataObjectBuilder
|
|
5
|
+
export declare const commonMetadataObjectModifications: <TItem extends MetadataObjectFromApi, T extends IMetadataObjectBuilder>(item: TItem) => (builder: T) => T;
|
|
6
6
|
export declare function createLabelMap(included: JsonApiAttributeOutDocument["included"] | undefined): Record<string, JsonApiLabelOutWithLinks>;
|
|
7
7
|
export declare function createDataSetMap(included: JsonApiAttributeOutDocument["included"] | undefined): Record<string, JsonApiDatasetOutWithLinks>;
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/MetadataConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,sCAAsC,EAC3C,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,0BAA0B,EAE/B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAGjC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,sBAAsB,EAM9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAE9B,MAAM,qBAAqB,CAAC;AAM7B,MAAM,MAAM,qBAAqB,GAC3B,4BAA4B,GAC5B,oCAAoC,GACpC,uBAAuB,GACvB,yBAAyB,GACzB,wBAAwB,GACxB,0BAA0B,GAC1B,sCAAsC,CAAC;AAE7C,eAAO,MAAM,iCAAiC,GACzC,KAAK,
|
|
1
|
+
{"version":3,"file":"MetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/MetadataConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,sCAAsC,EAC3C,KAAK,mBAAm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,2BAA2B,GACvC,wBAAwB,CAK1B;AAED;;;;GAIG;AACH,wBAAgB,qCAAqC,CACjD,UAAU,EAAE,uBAAuB,GACpC,wBAAwB,EAAE,CAW5B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,kBAAkB,GAAG,mBAAmB,EAAE,CAWtF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,sBAAsB,GAAG,mBAAmB,CAehF;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,oBAAoB,GAAG,sBAAsB,EAAE,CAE/F;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,0BAA0B,GAAG,sBAAsB,CAInG;AAyBD;;;;GAIG;AACH,wBAAgB,mCAAmC,CAC/C,SAAS,EAAE,sCAAsC,GAClD,wBAAwB,CAI1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationChannelsConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/NotificationChannelsConvertor.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,uCAAuC,EAC5C,KAAK,6BAA6B,EAGlC,KAAK,0DAA0D,EAGlE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAIvC,KAAK,kCAAkC,EAE1C,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,wBAAgB,+CAA+C,CAC3D,OAAO,EAAE,uCAAuC,GACjD,8BAA8B,GAAG,SAAS,CAc5C;AAED,eAAO,MAAM,iEAAiE,
|
|
1
|
+
{"version":3,"file":"NotificationChannelsConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/NotificationChannelsConvertor.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,uCAAuC,EAC5C,KAAK,6BAA6B,EAGlC,KAAK,0DAA0D,EAGlE,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAIvC,KAAK,kCAAkC,EAE1C,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,wBAAgB,+CAA+C,CAC3D,OAAO,EAAE,uCAAuC,GACjD,8BAA8B,GAAG,SAAS,CAc5C;AAED,eAAO,MAAM,iEAAiE,oBACzD,0DAA0D,KAC5E,kCAUF,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACjD,OAAO,EAAE,6BAA6B,GACvC,kCAAkC,GAAG,SAAS,CAuBhD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type JsonApiReportOut, type JsonApiReportOutWithLinks, type JsonApiReportPageLayoutOut, type JsonApiReportPageLayoutOutWithLinks, type JsonApiReportTemplateOut, type JsonApiReportTemplateOutWithLinks } from "@gooddata/api-client-tiger";
|
|
1
|
+
import { type JsonApiReportOut, type JsonApiReportOutWithLinks, type JsonApiReportPageLayoutOut, type JsonApiReportPageLayoutOutWithLinks, type JsonApiReportTemplateOut, type JsonApiReportTemplateOutWithLinks, type JsonApiUserIdentifierOutWithLinks } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IReport, type IReportPageLayout, type IReportTemplate } from "@gooddata/sdk-model";
|
|
3
|
-
export declare function convertReportPageLayout(entity: JsonApiReportPageLayoutOut | JsonApiReportPageLayoutOutWithLinks): IReportPageLayout;
|
|
4
|
-
export declare function convertReportTemplate(entity: JsonApiReportTemplateOut | JsonApiReportTemplateOutWithLinks): IReportTemplate;
|
|
5
|
-
export declare function convertReport(entity: JsonApiReportOut | JsonApiReportOutWithLinks): IReport;
|
|
3
|
+
export declare function convertReportPageLayout(entity: JsonApiReportPageLayoutOut | JsonApiReportPageLayoutOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IReportPageLayout;
|
|
4
|
+
export declare function convertReportTemplate(entity: JsonApiReportTemplateOut | JsonApiReportTemplateOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IReportTemplate;
|
|
5
|
+
export declare function convertReport(entity: JsonApiReportOut | JsonApiReportOutWithLinks, included?: JsonApiUserIdentifierOutWithLinks[]): IReport;
|
|
6
6
|
//# sourceMappingURL=ReportsConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ReportsConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,OAAO,EAEZ,KAAK,iBAAiB,EAEtB,KAAK,eAAe,EAEvB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ReportsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ReportsConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,OAAO,EAEZ,KAAK,iBAAiB,EAEtB,KAAK,eAAe,EAEvB,MAAM,qBAAqB,CAAC;AAW7B,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,0BAA0B,GAAG,mCAAmC,EACxE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,iBAAiB,CAcnB;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,wBAAwB,GAAG,iCAAiC,EACpE,QAAQ,GAAE,iCAAiC,EAAO,GACnD,eAAe,CAcjB;AAED,wBAAgB,aAAa,CACzB,MAAM,EAAE,gBAAgB,GAAG,yBAAyB,EACpD,QAAQ,GAAE,iCAAiC,EAAO,GACnD,OAAO,CAiBT"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { idRef, } from "@gooddata/sdk-model";
|
|
3
3
|
import { isInheritedObject } from "./ObjectInheritance.js";
|
|
4
|
+
import { convertUserIdentifier } from "./UsersConverter.js";
|
|
4
5
|
// Content is stored verbatim as free-form JSON, so the wire type carries no structure and the
|
|
5
6
|
// model type is restored by assertion. Callers that must not trust it use the content type-guards.
|
|
6
7
|
function asContent(content) {
|
|
7
8
|
return content;
|
|
8
9
|
}
|
|
9
|
-
export function convertReportPageLayout(entity) {
|
|
10
|
+
export function convertReportPageLayout(entity, included = []) {
|
|
10
11
|
return {
|
|
11
12
|
type: "reportPageLayout",
|
|
12
13
|
ref: idRef(entity.id, "reportPageLayout"),
|
|
@@ -15,9 +16,13 @@ export function convertReportPageLayout(entity) {
|
|
|
15
16
|
tags: entity.attributes.tags,
|
|
16
17
|
content: asContent(entity.attributes.content),
|
|
17
18
|
isLocked: isInheritedObject(entity),
|
|
19
|
+
created: entity.attributes.createdAt ?? undefined,
|
|
20
|
+
updated: entity.attributes.modifiedAt ?? undefined,
|
|
21
|
+
createdBy: convertUserIdentifier(entity.relationships?.createdBy, included),
|
|
22
|
+
updatedBy: convertUserIdentifier(entity.relationships?.modifiedBy, included),
|
|
18
23
|
};
|
|
19
24
|
}
|
|
20
|
-
export function convertReportTemplate(entity) {
|
|
25
|
+
export function convertReportTemplate(entity, included = []) {
|
|
21
26
|
return {
|
|
22
27
|
type: "reportTemplate",
|
|
23
28
|
ref: idRef(entity.id, "reportTemplate"),
|
|
@@ -26,9 +31,13 @@ export function convertReportTemplate(entity) {
|
|
|
26
31
|
tags: entity.attributes.tags,
|
|
27
32
|
content: asContent(entity.attributes.content),
|
|
28
33
|
isLocked: isInheritedObject(entity),
|
|
34
|
+
created: entity.attributes.createdAt ?? undefined,
|
|
35
|
+
updated: entity.attributes.modifiedAt ?? undefined,
|
|
36
|
+
createdBy: convertUserIdentifier(entity.relationships?.createdBy, included),
|
|
37
|
+
updatedBy: convertUserIdentifier(entity.relationships?.modifiedBy, included),
|
|
29
38
|
};
|
|
30
39
|
}
|
|
31
|
-
export function convertReport(entity) {
|
|
40
|
+
export function convertReport(entity, included = []) {
|
|
32
41
|
return {
|
|
33
42
|
type: "report",
|
|
34
43
|
ref: idRef(entity.id, "report"),
|
|
@@ -40,5 +49,9 @@ export function convertReport(entity) {
|
|
|
40
49
|
content: asContent(entity.attributes.content),
|
|
41
50
|
variableValues: entity.attributes.variableValues ?? undefined,
|
|
42
51
|
isLocked: isInheritedObject(entity),
|
|
52
|
+
created: entity.attributes.createdAt ?? undefined,
|
|
53
|
+
updated: entity.attributes.modifiedAt ?? undefined,
|
|
54
|
+
createdBy: convertUserIdentifier(entity.relationships?.createdBy, included),
|
|
55
|
+
updatedBy: convertUserIdentifier(entity.relationships?.modifiedBy, included),
|
|
43
56
|
};
|
|
44
57
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const isValueSetting: (obj: object | null | undefined) => obj is {
|
|
2
2
|
value: string | number | boolean | object | null | undefined;
|
|
3
3
|
};
|
|
4
|
-
export declare const unwrapSettingContent: (content: object |
|
|
4
|
+
export declare const unwrapSettingContent: (content: object | undefined | null) => string | number | boolean | object | null | undefined;
|
|
5
5
|
//# sourceMappingURL=SettingsConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/SettingsConverter.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"SettingsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/SettingsConverter.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,QAClB,MAAM,GAAG,IAAI,GAAG,SAAS,KAC/B,GAAG,IAAI;IAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAEvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAAa,MAAM,GAAG,SAAS,GAAG,IAAI,0DAKtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ThemeConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,oBAAoB,EAAS,MAAM,qBAAqB,CAAC;AAKvE,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ThemeConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,oBAAoB,EAAS,MAAM,qBAAqB,CAAC;AAKvE,eAAO,MAAM,qBAAqB,qCAK/B,wBAAwB,GAAG,iCAAiC,KAAG,oBAWhE,CAAC;AAEH,eAAO,MAAM,YAAY,aACX,uBAAuB,GAAG,gCAAgC,KACrE,oBAA0F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsersConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/UsersConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,YAAY,EACjB,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAEjC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC9C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"UsersConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/UsersConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,YAAY,EACjB,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAEjC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC9C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,YAAY,KAAG,KA4BhD,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,4BAA4B,GAAG,IAAI,CAAC;CAC7C;AAcD,MAAM,MAAM,2BAA2B,GACjC,mCAAmC,GACnC,iCAAiC,GACjC,sCAAsC,GACtC,qCAAqC,GACrC,6BAA6B,CAAC;AAEpC;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,UAAW,4BAA4B,KAAG,UAI7E,CAAC;AAEH,wBAAgB,qBAAqB,CACjC,qBAAqB,CAAC,EAAE,sBAAsB,EAC9C,QAAQ,GAAE,2BAA2B,EAAO,GAC7C,KAAK,GAAG,SAAS,CAqBnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AACzG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AACzG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,eAAO,MAAM,kBAAkB,4CACc,mBAAmB,GAAG,4BAA4B,kBAC3E,MAAM,EAAE,KACzB,oBAaF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/afm/FilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAMH,KAAK,gBAAgB,EAWxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAGH,KAAK,OAAO,EAQf,MAAM,qBAAqB,CAAC;AAqH7B,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"FilterConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/afm/FilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAMH,KAAK,gBAAgB,EAWxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAGH,KAAK,OAAO,EAQf,MAAM,qBAAqB,CAAC;AAqH7B,eAAO,MAAM,aAAa,WAAY,gBAAgB,KAAG,OA2NxD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type MeasureItem } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IMeasure } from "@gooddata/sdk-model";
|
|
3
|
-
export declare const convertMeasure: (measure: MeasureItem) => IMeasure
|
|
3
|
+
export declare const convertMeasure: (measure: MeasureItem) => IMeasure;
|
|
4
4
|
//# sourceMappingURL=MeasureConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasureConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/afm/MeasureConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,WAAW,EAInB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,QAAQ,EAIhB,MAAM,qBAAqB,CAAC;AA0B7B,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"MeasureConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/afm/MeasureConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,WAAW,EAInB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,QAAQ,EAIhB,MAAM,qBAAqB,CAAC;AA0B7B,eAAO,MAAM,cAAc,YAAa,WAAW,KAAG,QAuErD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type JsonApiAnalyticalDashboardOut, type JsonApiAnalyticalDashboardOutDocument, type JsonApiAnalyticalDashboardOutIncludes, type JsonApiAnalyticalDashboardOutList, type JsonApiAnalyticalDashboardOutWithLinks, type JsonApiDashboardPluginOutDocument, type JsonApiDashboardPluginOutWithLinks, type JsonApiFilterContextOutDocument } from "@gooddata/api-client-tiger";
|
|
2
2
|
import { type IDashboard, type IDashboardPlugin, type IFilterContext, type IListedDashboard } from "@gooddata/sdk-model";
|
|
3
|
-
export declare const convertAnalyticalDashboard: (analyticalDashboard: JsonApiAnalyticalDashboardOut | JsonApiAnalyticalDashboardOutWithLinks, included?: JsonApiAnalyticalDashboardOutIncludes[]
|
|
3
|
+
export declare const convertAnalyticalDashboard: (analyticalDashboard: JsonApiAnalyticalDashboardOut | JsonApiAnalyticalDashboardOutWithLinks, included?: JsonApiAnalyticalDashboardOutIncludes[]) => IListedDashboard;
|
|
4
4
|
export declare const convertAnalyticalDashboardToListItems: (analyticalDashboards: JsonApiAnalyticalDashboardOutList) => IListedDashboard[];
|
|
5
5
|
export declare function convertDashboard(analyticalDashboard: JsonApiAnalyticalDashboardOutDocument, filterContext?: IFilterContext): IDashboard;
|
|
6
6
|
export declare function convertFilterContextFromBackend(filterContext: JsonApiFilterContextOutDocument): IFilterContext;
|
package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticalDashboardConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,KAAK,6BAA6B,EAClC,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,gBAAgB,EAErB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAExB,MAAM,qBAAqB,CAAC;AAmB7B,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"AnalyticalDashboardConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,KAAK,6BAA6B,EAClC,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,gBAAgB,EAErB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAExB,MAAM,qBAAqB,CAAC;AAmB7B,eAAO,MAAM,0BAA0B,wBACd,6BAA6B,GAAG,sCAAsC,aAChF,qCAAqC,EAAE,KACnD,gBA0CF,CAAC;AAEF,eAAO,MAAM,qCAAqC,yBACxB,iCAAiC,KACxD,gBAAgB,EAIlB,CAAC;AAEF,wBAAgB,gBAAgB,CAC5B,mBAAmB,EAAE,qCAAqC,EAC1D,aAAa,CAAC,EAAE,cAAc,GAC/B,UAAU,CAqBZ;AAED,wBAAgB,+BAA+B,CAC3C,aAAa,EAAE,+BAA+B,GAC/C,cAAc,CAYhB;AAED,wBAAgB,iCAAiC,CAC7C,MAAM,EAAE,iCAAiC,GAC1C,gBAAgB,CAUlB;AAED,wBAAgB,0CAA0C,CACtD,MAAM,EAAE,kCAAkC,EAC1C,QAAQ,CAAC,EAAE,qCAAqC,EAAE,GACnD,gBAAgB,CAUlB"}
|
|
@@ -10,7 +10,7 @@ import { type DateAttributeGranularity } from "@gooddata/sdk-model";
|
|
|
10
10
|
* @param locale - optional locale information to determine if UTC conversion is needed.
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
export declare const parseDateValue: (value: string, granularity: DateAttributeGranularity, timezone?: string
|
|
13
|
+
export declare const parseDateValue: (value: string, granularity: DateAttributeGranularity, timezone?: string, locale?: string) => Date;
|
|
14
14
|
/**
|
|
15
15
|
* Serializes a Date object to a string representation based on the specified granularity.
|
|
16
16
|
* For the en-US-x-24h locale, the parsed date is converted to UTC using fromZonedTime
|
|
@@ -22,5 +22,5 @@ export declare const parseDateValue: (value: string, granularity: DateAttributeG
|
|
|
22
22
|
* @param locale - optional locale information to determine if UTC conversion is needed.
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
25
|
-
export declare const serializeDateValue: (value: Date, granularity: DateAttributeGranularity, timezone?: string
|
|
25
|
+
export declare const serializeDateValue: (value: Date, granularity: DateAttributeGranularity, timezone?: string, locale?: string) => string;
|
|
26
26
|
//# sourceMappingURL=dateValueParser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateValueParser.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/dateValueParser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AA8DpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"dateValueParser.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/dateValueParser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AA8DpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,UAChB,MAAM,eACA,wBAAwB,aAC1B,MAAM,WACR,MAAM,KAChB,IAyCF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,UACpB,IAAI,eACE,wBAAwB,aAC1B,MAAM,WACR,MAAM,KAChB,MAmCF,CAAC"}
|
|
@@ -48,6 +48,6 @@ export type FormattingLocale = keyof typeof localeConversions;
|
|
|
48
48
|
* @param timezone - timezone for proper timezone formatting (only used for en-US-x-24h locale with MINUTE/HOUR granularity)
|
|
49
49
|
* @alpha
|
|
50
50
|
*/
|
|
51
|
-
export declare const defaultDateFormatter: (value: Date, granularity: DateAttributeGranularity, locale?:
|
|
51
|
+
export declare const defaultDateFormatter: (value: Date, granularity: DateAttributeGranularity, locale?: FormattingLocale, pattern?: string, timezone?: string) => string;
|
|
52
52
|
export {};
|
|
53
53
|
//# sourceMappingURL=defaultDateFormatter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultDateFormatter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/defaultDateFormatter.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAyCpE,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"defaultDateFormatter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/dateFormatting/defaultDateFormatter.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAyCpE,QAAA,MAAM,iBAAiB;IACnB,OAAO;IACP,aAAa;IACb,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACV,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAwB9D;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,oBAAoB,UACtB,IAAI,eACE,wBAAwB,WAC7B,gBAAgB,YACd,MAAM,aACL,MAAM,WAoDpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genAIConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/genAIConvertor.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAI9B,KAAK,aAAa,EAQrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,iBAAiB,EAGtB,KAAK,sBAAsB,EAE3B,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAGhC,KAAK,gBAAgB,EAExB,MAAM,2BAA2B,CAAC;AAkCnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,wBAAgB,kCAAkC,CAAC,YAAY,EAAE,sBAAsB,GAAG,iB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,EAC9D,OAAO,EAAE,qBAAqB,EAAE,EAChC,cAAc,EAAE,cAAc,EAC9B,MAAM,CAAC,EAAE,gBAAgB,EACzB,QAAQ,CAAC,EAAE,MAAM,GAClB,qBAAqB,GAAG,SAAS,CA6BnC;AAED,wBAAgB,uCAAuC,CACnD,KAAK,EAAE,0BAA0B,EAAE,EACnC,SAAS,EAAE,0BAA0B,CAAC,WAAW,CAAC,GAAG,SAAS,EAC9D,cAAc,EAAE,cAAc,EAC9B,MAAM,CAAC,EAAE,gBAAgB,EACzB,QAAQ,CAAC,EAAE,MAAM,GAClB,qBAAqB,EAAE,CAkBzB;AAiLD,wBAAgB,uCAAuC,CACnD,IAAI,EAAE,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,EACrE,OAAO,CAAC,EAAE,MAAM,GACjB,sBAAsB,CAQxB;AAED;;;GAGG;AACH,wBAAgB,iDAAiD,CAC7D,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,MAAM,GACjB,gCAAgC,CAgBlC;AAED;;;;GAIG;AACH,wBAAgB,4CAA4C,CACxD,MAAM,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,GAC5D,2BAA2B,GAAG,SAAS,CAgEzC;AA2FD,wBAAgB,oCAAoC,CAChD,IAAI,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,gBAAgB,CAQlB"}
|
|
@@ -150,6 +150,9 @@ function convertChatConversationContentFromBackend(content, history, dateNormali
|
|
|
150
150
|
searchResults: convertSearchResults(part.objects),
|
|
151
151
|
relationships: convertSearchRelationships(part.relationships),
|
|
152
152
|
};
|
|
153
|
+
// Carries no model representation, so it drops like an unknown part.
|
|
154
|
+
case "clarifyingQuestions":
|
|
155
|
+
return undefined;
|
|
153
156
|
default:
|
|
154
157
|
// Unknown part type (e.g. sent by a newer backend): log and drop
|
|
155
158
|
// it, do not fail the whole item.
|
package/esm/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizationObjectConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAK9D,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"VisualizationObjectConverter.d.ts","sourceRoot":"","sources":["../../../../src/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAK9D,eAAO,MAAM,0BAA0B,wBAE7B,0BAA0B,CAAC,oBAAoB,GAC/C,0BAA0B,CAAC,oBAAoB,SAC9C,MAAM,eACA,MAAM,QACb,MAAM,EAAE,GAAG,SAAS,KAC3B,kBAUF,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,YACpC,MAAM,YACL,4BAA4B,KACvC,kBAQE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AutomationConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,EAG1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAK5B,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,iBAAiB,CAC7B,UAAU,EAAE,yBAAyB,GAAG,mCAAmC,EAC3E,eAAe,CAAC,EAAE,oBAAoB,EACtC,SAAS,CAAC,EAAE,yBAAyB,GACtC,mBAAmB,CAsNrB;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"AutomationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/AutomationConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,EAG1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAK5B,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,iBAAiB,CAC7B,UAAU,EAAE,yBAAyB,GAAG,mCAAmC,EAC3E,eAAe,CAAC,EAAE,oBAAoB,EACtC,SAAS,CAAC,EAAE,yBAAyB,GACtC,mBAAmB,CAsNrB;AAED,eAAO,MAAM,YAAY,UAAW,gBAAgB,KAAG,kCAkGtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEvF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEvF,eAAO,MAAM,uBAAuB,iBAAkB,aAAa,KAAG,MAA4B,CAAC;AAEnG,eAAO,MAAM,mBAAmB,OACxB,MAAM,gBACI,uBAAuB,KACtC,qBASF,CAAC;AAEF,eAAO,MAAM,4BAA4B,OACjC,MAAM,gBACI,uBAAuB,KACtC,8BASF,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { type AutomationRawExportAutomationRequest, type DashboardTabularExportR
|
|
|
2
2
|
import { type IRawExportCustomOverrides } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { type IExecutionDefinition, type IExportDefinitionDashboardRequestPayload, type IExportDefinitionMetadataObjectDefinition, type IExportDefinitionRequestPayload, type IExportDefinitionVisualizationObjectRequestPayload } from "@gooddata/sdk-model";
|
|
4
4
|
export declare const convertExportDefinitionMdObjectDefinition: (exportDefinition: IExportDefinitionMetadataObjectDefinition) => JsonApiExportDefinitionPostOptionalIdDocument;
|
|
5
|
-
export declare const convertToRawExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, widgetExecution?: IExecutionDefinition
|
|
6
|
-
export declare const convertToImageExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, title?: string
|
|
7
|
-
export declare const convertToSlidesExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
8
|
-
export declare const convertToVisualExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload, title?: string
|
|
5
|
+
export declare const convertToRawExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, widgetExecution?: IExecutionDefinition, overrides?: IRawExportCustomOverrides) => AutomationRawExportAutomationRequest;
|
|
6
|
+
export declare const convertToImageExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload, title?: string) => ImageExportRequest;
|
|
7
|
+
export declare const convertToSlidesExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string) => SlidesExportRequest;
|
|
8
|
+
export declare const convertToVisualExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload, title?: string) => VisualExportRequest;
|
|
9
9
|
export declare const convertToDashboardTabularExportRequest: (exportRequest: IExportDefinitionDashboardRequestPayload) => DashboardTabularExportRequestV2;
|
|
10
|
-
export declare const convertToTabularExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
10
|
+
export declare const convertToTabularExportRequest: (exportRequest: IExportDefinitionRequestPayload, title?: string) => TabularExportRequest;
|
|
11
11
|
export declare const convertVisualizationToDashboardTabularExportRequest: (exportRequest: IExportDefinitionVisualizationObjectRequestPayload) => DashboardTabularExportRequestV2;
|
|
12
|
-
export declare const convertExportDefinitionRequestPayload: (exportRequest: IExportDefinitionRequestPayload, title?: string
|
|
12
|
+
export declare const convertExportDefinitionRequestPayload: (exportRequest: IExportDefinitionRequestPayload, title?: string) => TabularExportRequest | VisualExportRequest;
|
|
13
13
|
export declare const convertExportDefinitionMdObject: (exportDefinition: IExportDefinitionMetadataObjectDefinition, identifier: string) => JsonApiExportDefinitionInDocument;
|
|
14
14
|
//# sourceMappingURL=ExportDefinitionsConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EAEpC,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,6CAA6C,EAClD,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EAE3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AA8B7B,eAAO,MAAM,yCAAyC,
|
|
1
|
+
{"version":3,"file":"ExportDefinitionsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportDefinitionsConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EAEpC,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,6CAA6C,EAClD,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EAE3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,+BAA+B,EACpC,KAAK,kDAAkD,EAG1D,MAAM,qBAAqB,CAAC;AA8B7B,eAAO,MAAM,yCAAyC,qBAChC,yCAAyC,KAC5D,6CAcF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACnB,kDAAkD,oBAC/C,oBAAoB,cAC1B,yBAAyB,KACtC,oCA8EF,CAAC;AAEF,eAAO,MAAM,2BAA2B,kBACrB,kDAAkD,UACzD,MAAM,KACf,kBAoCF,CAAC;AAEF,eAAO,MAAM,4BAA4B,kBACtB,+BAA+B,UACtC,MAAM,KACf,mBAuEF,CAAC;AAEF,eAAO,MAAM,4BAA4B,kBACtB,wCAAwC,UAC/C,MAAM,KACf,mBAsCF,CAAC;AAEF,eAAO,MAAM,sCAAsC,kBAChC,wCAAwC,KACxD,+BA4CF,CAAC;AAEF,eAAO,MAAM,6BAA6B,kBACvB,+BAA+B,UACtC,MAAM,KACf,oBA8CF,CAAC;AAEF,eAAO,MAAM,mDAAmD,kBAC7C,kDAAkD,KAClE,+BAuCF,CAAC;AAEF,eAAO,MAAM,qCAAqC,kBAC/B,+BAA+B,UACtC,MAAM,KACf,oBAAoB,GAAG,mBA0EzB,CAAC;AAEF,eAAO,MAAM,+BAA+B,qBACtB,yCAAyC,cAC/C,MAAM,KACnB,iCASF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ExportMetadataConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ExportMetadataConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,aAAc,eAAe,oBAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,SAAU,GAAG,QAOzC,CAAC;AAEP;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/InsightConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAOH,KAAK,0BAA0B,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAyB7B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"InsightConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/InsightConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAOH,KAAK,0BAA0B,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAIH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAyB7B;;;;;GAKG;AACH,eAAO,MAAM,cAAc,YACd,kBAAkB,KAC5B,0BAA0B,CAAC,oBAwD7B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,YAAa,kBAAkB,KAAG,MACxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ThemeConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC/F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"ThemeConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ThemeConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC/F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,YAAY,OAAQ,MAAM,SAAS,gBAAgB,KAAG,cASlE,CAAC;AAEF,eAAO,MAAM,qBAAqB,OAAQ,MAAM,SAAS,gBAAgB,KAAG,uBAS3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"WorkspaceConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/WorkspaceConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,eAAO,MAAM,sBAAsB,eACnB,0BAA0B,eACzB,MAAM,KACpB,qBAcF,CAAC"}
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,OAAO,EAAE,qBAAqB,EAAqB,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAInG;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,kBAAkB,CAuBpG;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACjC,YAAY,EACR,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,kBAAkB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zB,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,EAC9B,0BAA0B,EAC1B,yBAAyB,EACzB,gCAAgC,EAChC,mBAAmB,EACnB,0BAA0B,EAC1B,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,yBAAyB,EACzB,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,GACvB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACH,iCAAiC,EACjC,KAAK,kCAAkC,GAC1C,MAAM,0CAA0C,CAAC;AAElD,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzF,OAAO,EACH,KAAK,yBAAyB,EAC9B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,iBAAiB,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EACH,KAAK,4BAA4B,EACjC,oCAAoC,GACvC,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAElG;;GAEG;eAEY,YAAY"}
|
|
@@ -543,40 +543,7 @@ export declare const convertVisualizationContentToInsight: (content: object, met
|
|
|
543
543
|
/**
|
|
544
544
|
* @alpha
|
|
545
545
|
*/
|
|
546
|
-
export declare const objectTypeToTigerIdType: {
|
|
547
|
-
analyticalDashboard: TigerObjectType;
|
|
548
|
-
attribute: TigerObjectType;
|
|
549
|
-
attributeHierarchy: TigerObjectType;
|
|
550
|
-
automation: TigerObjectType;
|
|
551
|
-
colorPalette: TigerObjectType;
|
|
552
|
-
computedAttribute: TigerObjectType;
|
|
553
|
-
dashboardPlugin: TigerObjectType;
|
|
554
|
-
dataSet: TigerObjectType;
|
|
555
|
-
dateAttributeHierarchy: TigerObjectType;
|
|
556
|
-
dateHierarchyTemplate: TigerObjectType;
|
|
557
|
-
displayForm: TigerObjectType;
|
|
558
|
-
exportDefinition: TigerObjectType;
|
|
559
|
-
fact: TigerObjectType;
|
|
560
|
-
filterContext: TigerObjectType;
|
|
561
|
-
filterView: TigerObjectType;
|
|
562
|
-
insight: TigerObjectType;
|
|
563
|
-
measure: TigerObjectType;
|
|
564
|
-
memoryItem: TigerObjectType;
|
|
565
|
-
notificationChannel: TigerObjectType;
|
|
566
|
-
parameter: TigerObjectType;
|
|
567
|
-
report: TigerObjectType;
|
|
568
|
-
reportPageLayout: TigerObjectType;
|
|
569
|
-
reportTemplate: TigerObjectType;
|
|
570
|
-
theme: TigerObjectType;
|
|
571
|
-
user: TigerObjectType;
|
|
572
|
-
userDataFilter: TigerObjectType;
|
|
573
|
-
userGroup: TigerObjectType;
|
|
574
|
-
variable: TigerObjectType;
|
|
575
|
-
workspaceColorPalette: TigerObjectType;
|
|
576
|
-
workspaceDataFilter: TigerObjectType;
|
|
577
|
-
workspaceDataFilterSetting: TigerObjectType;
|
|
578
|
-
workspaceTheme: TigerObjectType;
|
|
579
|
-
};
|
|
546
|
+
export declare const objectTypeToTigerIdType: { [objectType in TigerCompatibleObjectType]: TigerObjectType; };
|
|
580
547
|
|
|
581
548
|
/**
|
|
582
549
|
* @internal
|
|
@@ -17,40 +17,7 @@ export declare const tigerIdTypeToObjectType: {
|
|
|
17
17
|
/**
|
|
18
18
|
* @alpha
|
|
19
19
|
*/
|
|
20
|
-
export declare const objectTypeToTigerIdType: {
|
|
21
|
-
analyticalDashboard: TigerObjectType;
|
|
22
|
-
attribute: TigerObjectType;
|
|
23
|
-
attributeHierarchy: TigerObjectType;
|
|
24
|
-
automation: TigerObjectType;
|
|
25
|
-
colorPalette: TigerObjectType;
|
|
26
|
-
computedAttribute: TigerObjectType;
|
|
27
|
-
dashboardPlugin: TigerObjectType;
|
|
28
|
-
dataSet: TigerObjectType;
|
|
29
|
-
dateAttributeHierarchy: TigerObjectType;
|
|
30
|
-
dateHierarchyTemplate: TigerObjectType;
|
|
31
|
-
displayForm: TigerObjectType;
|
|
32
|
-
exportDefinition: TigerObjectType;
|
|
33
|
-
fact: TigerObjectType;
|
|
34
|
-
filterContext: TigerObjectType;
|
|
35
|
-
filterView: TigerObjectType;
|
|
36
|
-
insight: TigerObjectType;
|
|
37
|
-
measure: TigerObjectType;
|
|
38
|
-
memoryItem: TigerObjectType;
|
|
39
|
-
notificationChannel: TigerObjectType;
|
|
40
|
-
parameter: TigerObjectType;
|
|
41
|
-
report: TigerObjectType;
|
|
42
|
-
reportPageLayout: TigerObjectType;
|
|
43
|
-
reportTemplate: TigerObjectType;
|
|
44
|
-
theme: TigerObjectType;
|
|
45
|
-
user: TigerObjectType;
|
|
46
|
-
userDataFilter: TigerObjectType;
|
|
47
|
-
userGroup: TigerObjectType;
|
|
48
|
-
variable: TigerObjectType;
|
|
49
|
-
workspaceColorPalette: TigerObjectType;
|
|
50
|
-
workspaceDataFilter: TigerObjectType;
|
|
51
|
-
workspaceDataFilterSetting: TigerObjectType;
|
|
52
|
-
workspaceTheme: TigerObjectType;
|
|
53
|
-
};
|
|
20
|
+
export declare const objectTypeToTigerIdType: { [objectType in TigerCompatibleObjectType]: TigerObjectType; };
|
|
54
21
|
/**
|
|
55
22
|
* @alpha
|
|
56
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refTypeMapping.d.ts","sourceRoot":"","sources":["../../src/types/refTypeMapping.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;AAEnE;;GAEG;AACH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G,GAAG,IAAI,eAEjD,CAAC"}
|
package/esm/utils/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ObjRef } from "@gooddata/sdk-model";
|
|
1
|
+
import { type Identifier, type ObjRef, type Uri } from "@gooddata/sdk-model";
|
|
2
2
|
import { type TigerAuthenticatedCallGuard } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Converts ObjRef instance to URI. For UriRef returns the uri as is, for IdentifierRef calls the backend and gets the URI.
|
|
@@ -8,7 +8,7 @@ import { type TigerAuthenticatedCallGuard } from "../types/index.js";
|
|
|
8
8
|
*
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
|
-
export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: TigerAuthenticatedCallGuard) => Promise<
|
|
11
|
+
export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: TigerAuthenticatedCallGuard) => Promise<Uri>;
|
|
12
12
|
/**
|
|
13
13
|
* Converts ObjRef instance to identifier. For IdentifierRef returns the identifier as is,
|
|
14
14
|
* otherwise converts the UriRef to the identifier.
|
|
@@ -17,7 +17,7 @@ export declare const objRefToUri: (ref: ObjRef, workspace: string, authCall: Tig
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthenticatedCallGuard) =>
|
|
20
|
+
export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthenticatedCallGuard) => Identifier;
|
|
21
21
|
/**
|
|
22
22
|
* Converts ObjRef instances to identifiers. For IdentifierRef returns the identifier as is,
|
|
23
23
|
* otherwise converts the UriRefs to the identifiers.
|
|
@@ -26,5 +26,5 @@ export declare const objRefToIdentifier: (ref: ObjRef, _authCall: TigerAuthentic
|
|
|
26
26
|
*
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
|
-
export declare const objRefsToIdentifiers: (refs: ObjRef[], authCall: TigerAuthenticatedCallGuard) =>
|
|
29
|
+
export declare const objRefsToIdentifiers: (refs: ObjRef[], authCall: TigerAuthenticatedCallGuard) => Identifier[];
|
|
30
30
|
//# sourceMappingURL=api.d.ts.map
|
package/esm/utils/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,GAAG,EAA6B,MAAM,qBAAqB,CAAC;AAExG,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAErE;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,QACf,MAAM,aACA,MAAM,YACP,2BAA2B,KACtC,OAAO,CAAC,GAAG,CAIb,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,QAAS,MAAM,aAAa,2BAA2B,KAAG,UAcxF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,SAAU,MAAM,EAAE,YAAY,2BAA2B,KAAG,UAAU,EAGtG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type AxiosResponse } from "axios";
|
|
2
2
|
export declare function downloadFile(fileName: string, data: any): void;
|
|
3
|
-
export declare const parseNameFromContentDisposition: (response: Pick<AxiosResponse
|
|
3
|
+
export declare const parseNameFromContentDisposition: (response: Pick<AxiosResponse, "headers">) => string | undefined;
|
|
4
4
|
//# sourceMappingURL=downloadFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../src/utils/downloadFile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,QASvD;AAED,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../src/utils/downloadFile.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,QASvD;AAED,eAAO,MAAM,+BAA+B,aAAc,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,uBAkBvF,CAAC"}
|
|
@@ -69,11 +69,24 @@ function createPermissionEscalationRefusedError(error) {
|
|
|
69
69
|
}
|
|
70
70
|
return new PermissionEscalationRefused("The change would grant a permission level the caller does not hold.", error);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Reasons the gateway's license/contract gate can deny a request with, carried in the 403 body's
|
|
74
|
+
* `reason` field (`components/gateway/gateway-api-gw/.../LicenseGatekeeper.kt` `DenyReason.code` in
|
|
75
|
+
* gdc-nas). Only the reasons a user can act on (or that block login entirely) are treated as a
|
|
76
|
+
* contract-expired condition here; the remaining reasons stay unexpected errors.
|
|
77
|
+
*/
|
|
78
|
+
const CONTRACT_EXPIRED_REASONS = ["contract_expired", "license_expired"];
|
|
72
79
|
function createContractExpiredError(error) {
|
|
73
80
|
const axiosErrorResponse = error.response;
|
|
74
|
-
if (axiosErrorResponse?.status !== 403
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
if (axiosErrorResponse?.status !== 403) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
// Older gateways do not send `reason` and only ever deny profile/invite this way, so the legacy
|
|
85
|
+
// detail-text match stays as a fallback rather than being replaced by the new field.
|
|
86
|
+
const matchesReason = CONTRACT_EXPIRED_REASONS.includes(axiosErrorResponse.data?.reason);
|
|
87
|
+
const matchesLegacyDetail = axiosErrorResponse.data?.detail?.includes("Contract expired") ||
|
|
88
|
+
axiosErrorResponse.data?.detail?.includes("Reason: EXPIRED");
|
|
89
|
+
if (!matchesReason && !matchesLegacyDetail) {
|
|
77
90
|
return;
|
|
78
91
|
}
|
|
79
92
|
return new ContractExpired(axiosErrorResponse.data.tier || "unspecified", error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterLocalidentifier.d.ts","sourceRoot":"","sources":["../../src/utils/filterLocalidentifier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAyB,MAAM,qBAAqB,CAAC;AAEpF,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"filterLocalidentifier.d.ts","sourceRoot":"","sources":["../../src/utils/filterLocalidentifier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAyB,MAAM,qBAAqB,CAAC;AAEpF,eAAO,MAAM,wBAAwB,WAAY,iBAAiB,SAAS,MAAM,KAAG,iBAYnF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixNumber.d.ts","sourceRoot":"","sources":["../../src/utils/fixNumber.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"fixNumber.d.ts","sourceRoot":"","sources":["../../src/utils/fixNumber.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,SAAS,QAAS,MAAM,WAAgC,CAAC"}
|