@gooddata/sdk-backend-tiger 11.56.0-alpha.0 → 11.56.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/auth.d.ts.map +1 -1
  4. package/esm/backend/features/feature.d.ts.map +1 -1
  5. package/esm/backend/features/feature.js +1 -3
  6. package/esm/backend/features/index.d.ts.map +1 -1
  7. package/esm/backend/index.d.ts.map +1 -1
  8. package/esm/backend/organization/automations/automationsQuery.d.ts.map +1 -1
  9. package/esm/backend/organization/exportTemplates.d.ts.map +1 -1
  10. package/esm/backend/organization/fromBackend/userConvertor.d.ts.map +1 -1
  11. package/esm/backend/organization/index.d.ts.map +1 -1
  12. package/esm/backend/organization/notificationChannels.d.ts +1 -1
  13. package/esm/backend/organization/notificationChannels.d.ts.map +1 -1
  14. package/esm/backend/organization/notifications.d.ts.map +1 -1
  15. package/esm/backend/organization/permissions.d.ts.map +1 -1
  16. package/esm/backend/organization/securitySettings.d.ts.map +1 -1
  17. package/esm/backend/organization/styling.d.ts.map +1 -1
  18. package/esm/backend/organization/users.d.ts.map +1 -1
  19. package/esm/backend/tigerSpecificFunctions.d.ts +1 -1
  20. package/esm/backend/tigerSpecificFunctions.d.ts.map +1 -1
  21. package/esm/backend/uiFeatures.d.ts +3 -9
  22. package/esm/backend/uiFeatures.d.ts.map +1 -1
  23. package/esm/backend/uiFeatures.js +4 -11
  24. package/esm/backend/uiSettings.d.ts.map +1 -1
  25. package/esm/backend/workspace/attributeHierarchies/index.d.ts.map +1 -1
  26. package/esm/backend/workspace/attributes/elements/date.d.ts.map +1 -1
  27. package/esm/backend/workspace/attributes/elements/index.d.ts.map +1 -1
  28. package/esm/backend/workspace/attributes/elements/index.js +18 -1
  29. package/esm/backend/workspace/attributes/index.d.ts +1 -1
  30. package/esm/backend/workspace/attributes/index.d.ts.map +1 -1
  31. package/esm/backend/workspace/automations/automationsQuery.d.ts.map +1 -1
  32. package/esm/backend/workspace/automations/index.d.ts +4 -4
  33. package/esm/backend/workspace/automations/index.d.ts.map +1 -1
  34. package/esm/backend/workspace/catalog/availableItemsFactory.d.ts.map +1 -1
  35. package/esm/backend/workspace/catalog/availableItemsFactory.js +2 -1
  36. package/esm/backend/workspace/catalog/factory.d.ts.map +1 -1
  37. package/esm/backend/workspace/catalog/factory.js +2 -1
  38. package/esm/backend/workspace/catalog/rsqlFilter.d.ts +1 -1
  39. package/esm/backend/workspace/catalog/rsqlFilter.d.ts.map +1 -1
  40. package/esm/backend/workspace/dashboards/index.d.ts +23 -23
  41. package/esm/backend/workspace/dashboards/index.d.ts.map +1 -1
  42. package/esm/backend/workspace/dashboards/index.js +1 -4
  43. package/esm/backend/workspace/dataFilters/index.d.ts.map +1 -1
  44. package/esm/backend/workspace/execution/executionResult.d.ts +3 -3
  45. package/esm/backend/workspace/execution/executionResult.d.ts.map +1 -1
  46. package/esm/backend/workspace/execution/preparedExecution.d.ts +1 -1
  47. package/esm/backend/workspace/execution/preparedExecution.d.ts.map +1 -1
  48. package/esm/backend/workspace/execution/utils.d.ts.map +1 -1
  49. package/esm/backend/workspace/exportDefinitions/index.d.ts +1 -1
  50. package/esm/backend/workspace/exportDefinitions/index.d.ts.map +1 -1
  51. package/esm/backend/workspace/exportTemplates.d.ts.map +1 -1
  52. package/esm/backend/workspace/facts/index.d.ts.map +1 -1
  53. package/esm/backend/workspace/index.d.ts.map +1 -1
  54. package/esm/backend/workspace/insights/index.d.ts +4 -4
  55. package/esm/backend/workspace/insights/index.d.ts.map +1 -1
  56. package/esm/backend/workspace/measures/index.d.ts +3 -3
  57. package/esm/backend/workspace/measures/index.d.ts.map +1 -1
  58. package/esm/backend/workspace/measures/index.js +8 -0
  59. package/esm/backend/workspace/measures/measureExpressionTokens.d.ts.map +1 -1
  60. package/esm/backend/workspace/reports.d.ts.map +1 -1
  61. package/esm/backend/workspace/reports.js +25 -12
  62. package/esm/backend/workspace/styling/index.d.ts.map +1 -1
  63. package/esm/convertors/fromBackend/AccessControlConverter.d.ts.map +1 -1
  64. package/esm/convertors/fromBackend/AutomationConverter.d.ts +2 -2
  65. package/esm/convertors/fromBackend/AutomationConverter.d.ts.map +1 -1
  66. package/esm/convertors/fromBackend/CatalogConverter.d.ts +1 -1
  67. package/esm/convertors/fromBackend/CatalogConverter.d.ts.map +1 -1
  68. package/esm/convertors/fromBackend/ColorPaletteConverter.d.ts.map +1 -1
  69. package/esm/convertors/fromBackend/DateFilterConfigurationConverter.d.ts.map +1 -1
  70. package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts +2 -2
  71. package/esm/convertors/fromBackend/ExportDefinitionsConverter.d.ts.map +1 -1
  72. package/esm/convertors/fromBackend/ExportMetadataConverter.d.ts.map +1 -1
  73. package/esm/convertors/fromBackend/GraphConverter.d.ts.map +1 -1
  74. package/esm/convertors/fromBackend/HierarchyConverter.d.ts +2 -2
  75. package/esm/convertors/fromBackend/HierarchyConverter.d.ts.map +1 -1
  76. package/esm/convertors/fromBackend/IdSanitization.d.ts.map +1 -1
  77. package/esm/convertors/fromBackend/InsightConverter.d.ts +3 -3
  78. package/esm/convertors/fromBackend/InsightConverter.d.ts.map +1 -1
  79. package/esm/convertors/fromBackend/MetadataConverter.d.ts +1 -1
  80. package/esm/convertors/fromBackend/MetadataConverter.d.ts.map +1 -1
  81. package/esm/convertors/fromBackend/MetadataConverter.js +6 -1
  82. package/esm/convertors/fromBackend/MetricConverter.d.ts.map +1 -1
  83. package/esm/convertors/fromBackend/MetricConverter.js +4 -0
  84. package/esm/convertors/fromBackend/NotificationChannelsConvertor.d.ts.map +1 -1
  85. package/esm/convertors/fromBackend/ReportsConverter.d.ts +4 -4
  86. package/esm/convertors/fromBackend/ReportsConverter.d.ts.map +1 -1
  87. package/esm/convertors/fromBackend/ReportsConverter.js +16 -3
  88. package/esm/convertors/fromBackend/SettingsConverter.d.ts +1 -1
  89. package/esm/convertors/fromBackend/SettingsConverter.d.ts.map +1 -1
  90. package/esm/convertors/fromBackend/ThemeConverter.d.ts.map +1 -1
  91. package/esm/convertors/fromBackend/UsersConverter.d.ts.map +1 -1
  92. package/esm/convertors/fromBackend/WorkspaceConverter.d.ts.map +1 -1
  93. package/esm/convertors/fromBackend/afm/FilterConverter.d.ts.map +1 -1
  94. package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts +1 -1
  95. package/esm/convertors/fromBackend/afm/MeasureConverter.d.ts.map +1 -1
  96. package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts +1 -1
  97. package/esm/convertors/fromBackend/analyticalDashboards/AnalyticalDashboardConverter.d.ts.map +1 -1
  98. package/esm/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.d.ts +1 -1
  99. package/esm/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.d.ts.map +1 -1
  100. package/esm/convertors/fromBackend/conditionalFormattingConversions.d.ts +12 -0
  101. package/esm/convertors/fromBackend/conditionalFormattingConversions.d.ts.map +1 -0
  102. package/esm/convertors/fromBackend/conditionalFormattingConversions.js +48 -0
  103. package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts +2 -2
  104. package/esm/convertors/fromBackend/dateFormatting/dateValueParser.d.ts.map +1 -1
  105. package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts +1 -1
  106. package/esm/convertors/fromBackend/dateFormatting/defaultDateFormatter.d.ts.map +1 -1
  107. package/esm/convertors/fromBackend/genAIConvertor.d.ts.map +1 -1
  108. package/esm/convertors/fromBackend/genAIConvertor.js +53 -27
  109. package/esm/convertors/fromBackend/visualizationObjects/VisualizationObjectConverter.d.ts.map +1 -1
  110. package/esm/convertors/toBackend/AutomationConverter.d.ts.map +1 -1
  111. package/esm/convertors/toBackend/ColorPaletteConverter.d.ts.map +1 -1
  112. package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts +6 -6
  113. package/esm/convertors/toBackend/ExportDefinitionsConverter.d.ts.map +1 -1
  114. package/esm/convertors/toBackend/ExportMetadataConverter.d.ts.map +1 -1
  115. package/esm/convertors/toBackend/IdSanitization.d.ts.map +1 -1
  116. package/esm/convertors/toBackend/InsightConverter.d.ts.map +1 -1
  117. package/esm/convertors/toBackend/MetricConverter.d.ts.map +1 -1
  118. package/esm/convertors/toBackend/MetricConverter.js +4 -0
  119. package/esm/convertors/toBackend/ThemeConverter.d.ts.map +1 -1
  120. package/esm/convertors/toBackend/WorkspaceConverter.d.ts.map +1 -1
  121. package/esm/index.d.ts.map +1 -1
  122. package/esm/sdk-backend-tiger.d.ts +1 -34
  123. package/esm/types/refTypeMapping.d.ts +1 -34
  124. package/esm/types/refTypeMapping.d.ts.map +1 -1
  125. package/esm/utils/api.d.ts +4 -4
  126. package/esm/utils/api.d.ts.map +1 -1
  127. package/esm/utils/downloadFile.d.ts +1 -1
  128. package/esm/utils/downloadFile.d.ts.map +1 -1
  129. package/esm/utils/errorHandling.js +16 -3
  130. package/esm/utils/filterLocalidentifier.d.ts.map +1 -1
  131. package/esm/utils/fixNumber.d.ts.map +1 -1
  132. package/esm/utils/jwt.d.ts.map +1 -1
  133. package/package.json +12 -12
@@ -8,6 +8,7 @@ import { convertReport, convertReportPageLayout, convertReportTemplate, } from "
8
8
  import { convertReportPageLayoutToBackend, convertReportTemplateToBackend, convertReportToBackend, } from "../../convertors/toBackend/ReportsConverter.js";
9
9
  import { objRefToIdentifier } from "../../utils/api.js";
10
10
  import { TigerWorkspaceSettings } from "./settings/index.js";
11
+ const auditInclude = ["createdBy", "modifiedBy"];
11
12
  function findBuiltInPageLayout(ref) {
12
13
  return BuiltInReportPageLayouts.find((layout) => areObjRefsEqual(layout.ref, ref));
13
14
  }
@@ -22,9 +23,10 @@ export class TigerWorkspaceReportsService {
22
23
  const layouts = await this.authCall((client) => ActionsUtilities.loadAllPages(({ page, size }) => EntitiesApi_GetAllEntitiesReportPageLayouts(client.axios, client.basePath, {
23
24
  workspaceId: this.workspace,
24
25
  metaInclude: ["origin"],
26
+ include: auditInclude,
25
27
  page,
26
28
  size,
27
- }).then((response) => response.data.data.map(convertReportPageLayout))));
29
+ }).then((response) => response.data.data.map((layout) => convertReportPageLayout(layout, response.data.included)))));
28
30
  return [...BuiltInReportPageLayouts, ...layouts];
29
31
  };
30
32
  getReportPageLayout = async (ref) => {
@@ -38,8 +40,9 @@ export class TigerWorkspaceReportsService {
38
40
  workspaceId: this.workspace,
39
41
  objectId,
40
42
  metaInclude: ["origin"],
43
+ include: auditInclude,
41
44
  });
42
- return convertReportPageLayout(response.data.data);
45
+ return convertReportPageLayout(response.data.data, response.data.included);
43
46
  });
44
47
  };
45
48
  createReportPageLayout = async (layout) => {
@@ -47,6 +50,7 @@ export class TigerWorkspaceReportsService {
47
50
  return this.authCall(async (client) => {
48
51
  const response = await EntitiesApi_CreateEntityReportPageLayouts(client.axios, client.basePath, {
49
52
  workspaceId: this.workspace,
53
+ include: auditInclude,
50
54
  jsonApiReportPageLayoutPostOptionalIdDocument: {
51
55
  data: {
52
56
  type: "reportPageLayout",
@@ -55,7 +59,7 @@ export class TigerWorkspaceReportsService {
55
59
  },
56
60
  },
57
61
  });
58
- return convertReportPageLayout(response.data.data);
62
+ return convertReportPageLayout(response.data.data, response.data.included);
59
63
  });
60
64
  };
61
65
  updateReportPageLayout = async (layout) => {
@@ -64,6 +68,7 @@ export class TigerWorkspaceReportsService {
64
68
  const response = await EntitiesApi_UpdateEntityReportPageLayouts(client.axios, client.basePath, {
65
69
  workspaceId: this.workspace,
66
70
  objectId,
71
+ include: auditInclude,
67
72
  jsonApiReportPageLayoutInDocument: {
68
73
  data: {
69
74
  type: "reportPageLayout",
@@ -72,7 +77,7 @@ export class TigerWorkspaceReportsService {
72
77
  },
73
78
  },
74
79
  });
75
- return convertReportPageLayout(response.data.data);
80
+ return convertReportPageLayout(response.data.data, response.data.included);
76
81
  });
77
82
  };
78
83
  deleteReportPageLayout = async (ref) => {
@@ -86,9 +91,10 @@ export class TigerWorkspaceReportsService {
86
91
  return this.authCall((client) => ActionsUtilities.loadAllPages(({ page, size }) => EntitiesApi_GetAllEntitiesReportTemplates(client.axios, client.basePath, {
87
92
  workspaceId: this.workspace,
88
93
  metaInclude: ["origin"],
94
+ include: auditInclude,
89
95
  page,
90
96
  size,
91
- }).then((response) => response.data.data.map(convertReportTemplate))));
97
+ }).then((response) => response.data.data.map((template) => convertReportTemplate(template, response.data.included)))));
92
98
  };
93
99
  getReportTemplate = async (ref) => {
94
100
  const objectId = objRefToIdentifier(ref, this.authCall);
@@ -97,8 +103,9 @@ export class TigerWorkspaceReportsService {
97
103
  workspaceId: this.workspace,
98
104
  objectId,
99
105
  metaInclude: ["origin"],
106
+ include: auditInclude,
100
107
  });
101
- return convertReportTemplate(response.data.data);
108
+ return convertReportTemplate(response.data.data, response.data.included);
102
109
  });
103
110
  };
104
111
  createReportTemplate = async (template) => {
@@ -106,6 +113,7 @@ export class TigerWorkspaceReportsService {
106
113
  return this.authCall(async (client) => {
107
114
  const response = await EntitiesApi_CreateEntityReportTemplates(client.axios, client.basePath, {
108
115
  workspaceId: this.workspace,
116
+ include: auditInclude,
109
117
  jsonApiReportTemplatePostOptionalIdDocument: {
110
118
  data: {
111
119
  type: "reportTemplate",
@@ -114,7 +122,7 @@ export class TigerWorkspaceReportsService {
114
122
  },
115
123
  },
116
124
  });
117
- return convertReportTemplate(response.data.data);
125
+ return convertReportTemplate(response.data.data, response.data.included);
118
126
  });
119
127
  };
120
128
  updateReportTemplate = async (template) => {
@@ -123,6 +131,7 @@ export class TigerWorkspaceReportsService {
123
131
  const response = await EntitiesApi_UpdateEntityReportTemplates(client.axios, client.basePath, {
124
132
  workspaceId: this.workspace,
125
133
  objectId,
134
+ include: auditInclude,
126
135
  jsonApiReportTemplateInDocument: {
127
136
  data: {
128
137
  type: "reportTemplate",
@@ -131,7 +140,7 @@ export class TigerWorkspaceReportsService {
131
140
  },
132
141
  },
133
142
  });
134
- return convertReportTemplate(response.data.data);
143
+ return convertReportTemplate(response.data.data, response.data.included);
135
144
  });
136
145
  };
137
146
  deleteReportTemplate = async (ref) => {
@@ -145,9 +154,10 @@ export class TigerWorkspaceReportsService {
145
154
  return this.authCall((client) => ActionsUtilities.loadAllPages(({ page, size }) => EntitiesApi_GetAllEntitiesReports(client.axios, client.basePath, {
146
155
  workspaceId: this.workspace,
147
156
  metaInclude: ["origin"],
157
+ include: auditInclude,
148
158
  page,
149
159
  size,
150
- }).then((response) => response.data.data.map(convertReport))));
160
+ }).then((response) => response.data.data.map((report) => convertReport(report, response.data.included)))));
151
161
  };
152
162
  getReport = async (ref) => {
153
163
  const objectId = objRefToIdentifier(ref, this.authCall);
@@ -156,8 +166,9 @@ export class TigerWorkspaceReportsService {
156
166
  workspaceId: this.workspace,
157
167
  objectId,
158
168
  metaInclude: ["origin"],
169
+ include: auditInclude,
159
170
  });
160
- return convertReport(response.data.data);
171
+ return convertReport(response.data.data, response.data.included);
161
172
  });
162
173
  };
163
174
  createReport = async (report) => {
@@ -165,6 +176,7 @@ export class TigerWorkspaceReportsService {
165
176
  return this.authCall(async (client) => {
166
177
  const response = await EntitiesApi_CreateEntityReports(client.axios, client.basePath, {
167
178
  workspaceId: this.workspace,
179
+ include: auditInclude,
168
180
  jsonApiReportPostOptionalIdDocument: {
169
181
  data: {
170
182
  type: "report",
@@ -173,7 +185,7 @@ export class TigerWorkspaceReportsService {
173
185
  },
174
186
  },
175
187
  });
176
- return convertReport(response.data.data);
188
+ return convertReport(response.data.data, response.data.included);
177
189
  });
178
190
  };
179
191
  updateReport = async (report) => {
@@ -182,6 +194,7 @@ export class TigerWorkspaceReportsService {
182
194
  const response = await EntitiesApi_UpdateEntityReports(client.axios, client.basePath, {
183
195
  workspaceId: this.workspace,
184
196
  objectId,
197
+ include: auditInclude,
185
198
  jsonApiReportInDocument: {
186
199
  data: {
187
200
  type: "report",
@@ -190,7 +203,7 @@ export class TigerWorkspaceReportsService {
190
203
  },
191
204
  },
192
205
  });
193
- return convertReport(response.data.data);
206
+ return convertReport(response.data.data, response.data.included);
194
207
  });
195
208
  };
196
209
  deleteReport = async (ref) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/backend/workspace/styling/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,MAAM,EAEd,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAiB3E,qBAAa,qBAAsB,YAAW,wBAAwB;IAI9D,OAAO,CAAC,QAAQ,CAAC,QAAQ;aACT,SAAS,EAAE,MAAM;IAJrC,OAAO,CAAC,eAAe,CAAyB;IAEhD,YACqB,QAAQ,EAAE,2BAA2B,EACtC,SAAS,EAAE,MAAM,EAGpC;IAED;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,yBAAyB,CAgB3B;IAEC,eAAe,qCA+BpB;IAEK,QAAQ,wBAqBb;YAEY,gBAAgB;IAQvB,cAAc,oCAA8C;IAEtD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3D;IAEM,qBAAqB,oCAAqD;IAEpE,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzE;IAEY,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAE7C;IAEY,uBAAuB,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD;IAED;;;;OAIG;IACU,SAAS,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAYxD;IAED;;;;;OAKG;IACU,WAAW,CAAC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,OAAO,CAAC,IAAI,CAAC,CAQtE;IAED,OAAO,CAAC,uBAAuB;CAKlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccessControlConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/AccessControlConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAEhC,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,sBAAsB,gDAIjC,CAAC;AAIH,eAAO,MAAM,qBAAqB,+CAWhC,CAAC;AAEH,eAAO,MAAM,0BAA0B,0DAKrC,CAAC;AAEH,eAAO,MAAM,mBAAmB,qDAM9B,CAAC;AAEH,eAAO,MAAM,wBAAwB,gEAInC,CAAC"}
1
+ {"version":3,"file":"AccessControlConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/AccessControlConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAEhC,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,sBAAsB,SAAU,cAAc,KAAG,oBAI5D,CAAC;AAIH,eAAO,MAAM,qBAAqB,SAAU,cAAc,KAAG,mBAW3D,CAAC;AAEH,eAAO,MAAM,0BAA0B,UAAW,mBAAmB,KAAG,wBAKtE,CAAC;AAEH,eAAO,MAAM,mBAAmB,SAAU,YAAY,KAAG,2BAMvD,CAAC;AAEH,eAAO,MAAM,wBAAwB,UAAW,iBAAiB,KAAG,gCAIlE,CAAC"}
@@ -1,8 +1,8 @@
1
- import { type AutomationAutomationAlert, type JsonApiAutomationOutAttributesStateEnum, type JsonApiAutomationOutIncludes, type JsonApiAutomationOutList, type JsonApiAutomationOutWithLinks, type JsonApiWorkspaceAutomationOutWithLinks } from "@gooddata/api-client-tiger";
1
+ import { type AiAlertProposal, type AutomationAutomationAlert, type JsonApiAutomationOutAttributesStateEnum, type JsonApiAutomationOutIncludes, type JsonApiAutomationOutList, type JsonApiAutomationOutWithLinks, type JsonApiWorkspaceAutomationOutWithLinks } from "@gooddata/api-client-tiger";
2
2
  import { type FilterContextItem, type IAutomationAlert, type IAutomationMetadataObject, type IFilter } from "@gooddata/sdk-model";
3
3
  export declare function convertAutomation(automation: JsonApiAutomationOutWithLinks | JsonApiWorkspaceAutomationOutWithLinks, included: JsonApiAutomationOutIncludes[]): IAutomationMetadataObject;
4
4
  export declare const convertAutomationListToAutomations: (automationList: JsonApiAutomationOutList) => IAutomationMetadataObject[];
5
- export declare const convertAlert: (alert: import("@gooddata/api-client-tiger").AiAlertDefinition | AutomationAutomationAlert | undefined, state?: JsonApiAutomationOutAttributesStateEnum | undefined) => IAutomationAlert | undefined;
5
+ export declare const convertAlert: (alert: AutomationAutomationAlert | AiAlertProposal["alert"] | undefined, state?: JsonApiAutomationOutAttributesStateEnum) => IAutomationAlert | undefined;
6
6
  /**
7
7
  * Converts a legacy execution-level filter to a dashboard `FilterContextItem`. Used during
8
8
  * lazy migration of XLSX export definitions that historically stored `IFilter[]` instead of
@@ -1 +1 @@
1
- {"version":3,"file":"AutomationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/AutomationConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EAIH,KAAK,yBAAyB,EAO9B,KAAK,uCAAuC,EAC5C,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,E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AG,SAoGrB,CAAC;AA0CF;;;;;;;GAOG;AACH,wBAAgB,yCAAyC,CACrD,MAAM,EAAE,OAAO,EACf,uBAAuB,EAAE,MAAM,GAChC,iBAAiB,GAAG,SAAS,CAgG/B"}
@@ -1,6 +1,6 @@
1
1
  import { type JsonApiAttributeOutWithLinks, type JsonApiComputedAttributeOutIncludes, type JsonApiComputedAttributeOutWithLinks, type JsonApiDatasetOutWithLinks, type JsonApiFactOutWithLinks, type JsonApiLabelOutWithLinks, type JsonApiMetricOutWithLinks } from "@gooddata/api-client-tiger";
2
2
  import { type ICatalogAttribute, type ICatalogComputedAttribute, type ICatalogDateAttribute, type ICatalogDateDataset, type ICatalogFact, type ICatalogMeasure } from "@gooddata/sdk-model";
3
- export declare const convertAttribute: (attribute: JsonApiAttributeOutWithLinks, defaultLabel: JsonApiLabelOutWithLinks, geoLabels: JsonApiLabelOutWithLinks[], allLabels: JsonApiLabelOutWithLinks[], dataSet?: JsonApiDatasetOutWithLinks | undefined) => ICatalogAttribute;
3
+ export declare const convertAttribute: (attribute: JsonApiAttributeOutWithLinks, defaultLabel: JsonApiLabelOutWithLinks, geoLabels: JsonApiLabelOutWithLinks[], allLabels: JsonApiLabelOutWithLinks[], dataSet?: JsonApiDatasetOutWithLinks) => ICatalogAttribute;
4
4
  export declare const convertMeasure: (measure: JsonApiMetricOutWithLinks, included?: JsonApiComputedAttributeOutIncludes[]) => ICatalogMeasure;
5
5
  export declare const convertComputedAttributeToCatalogItem: (computedAttribute: JsonApiComputedAttributeOutWithLinks, included?: JsonApiComputedAttributeOutIncludes[]) => ICatalogComputedAttribute;
6
6
  export declare const convertFact: (fact: JsonApiFactOutWithLinks) => ICatalogFact;
@@ -1 +1 @@
1
- {"version":3,"file":"CatalogConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/CatalogConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACz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AAE,KAChD,yBAUF,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,uBAAuB,KAAG,YAM3D,CAAC;AAEF,eAAO,MAAM,oBAAoB,cAClB,4BAA4B,SAChC,wBAAwB,aACpB,wBAAwB,EAAE,KACtC,qBAcF,CAAC;AAEF,eAAO,MAAM,kBAAkB,YAClB,0BAA0B,cACvB,qBAAqB,EAAE,KACpC,mBAeF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,2BAA2B,EAGnC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,yBAAyB,kCAErC,CAAC;AAMF,eAAO,MAAM,4BAA4B,iIAiBxC,CAAC;AAEF,eAAO,MAAM,2BAA2B,gHAIvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,0CAE/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,qHAE2E,CAAC"}
1
+ {"version":3,"file":"ColorPaletteConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/ColorPaletteConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,2BAA2B,EAGnC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,yBAAyB,UAAW,MAAM,KAAG,aAEzD,CAAC;AAMF,eAAO,MAAM,4BAA4B,uBACjB,+BAA+B,GAAG,wCAAwC,KAC/F,2BAeF,CAAC;AAEF,eAAO,MAAM,2BAA2B,oBAErC,+BAA+B,GAAG,wCAAwC,KAAG,aAE/E,CAAC;AAEF,eAAO,MAAM,mBAAmB,iBAAkB,aAAa,KAAG,OAEjE,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAClB,8BAA8B,GAAG,uCAAuC,KACnF,2BAAwG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DateFilterConfigurationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/DateFilterConfigurationConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EAIf,KAAK,iBAAiB,EAMzB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,uBAAuB,EAAE,iBAqTrC,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,eAAe,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC9C,eAAe,CAAC,EAAE,yBAAyB,EAAE,CAAC;CACjD;AAED,UAAU,eAAe;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,yBAA0B,SAAQ,eAAe;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,qBAAqB,CAAC;CACtC;AAED,UAAU,yBAA0B,SAAQ,eAAe;IACvD,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,UAAU,CAAC;CAClB;AAED,UAAU,uBAAwB,SAAQ,eAAe;IACrD,aAAa,EAAE,qBAAqB,EAAE,CAAC;CAC1C;AAsDD,eAAO,MAAM,uBAAuB,+EA2BnC,CAAC"}
1
+ {"version":3,"file":"DateFilterConfigurationConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/DateFilterConfigurationConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EAIf,KAAK,iBAAiB,EAMzB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,uBAAuB,EAAE,iBAqTrC,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,eAAe,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC9C,eAAe,CAAC,EAAE,yBAAyB,EAAE,CAAC;CACjD;AAED,UAAU,eAAe;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,yBAA0B,SAAQ,eAAe;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,qBAAqB,CAAC;CACtC;AAED,UAAU,yBAA0B,SAAQ,eAAe;IACvD,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,UAAU,CAAC;CAClB;AAED,UAAU,uBAAwB,SAAQ,eAAe;IACrD,aAAa,EAAE,qBAAqB,EAAE,CAAC;CAC1C;AAsDD,eAAO,MAAM,uBAAuB,qBACd,wBAAwB,GAAG,SAAS,KACvD,iBAyBF,CAAC"}
@@ -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<ITigerFilterContextItem> | undefined) => IExportDefinitionMetadataObject;
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) => IExportDefinitionDashboardRequestPayload | IExportDefinitionVisualizationObjectRequestPayload;
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,gKAkBhC,CAAC;AAEF,eAAO,MAAM,oCAAoC,6KA8DhD,CAAC;AAEF,eAAO,MAAM,0BAA0B,+FAqCtC,CAAC;AAEF,eAAO,MAAM,yBAAyB,qHA0BrC,CAAC;AAEF,eAAO,MAAM,yBAAyB,wGAuBrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oJAsDtC,CAAC;AAEF,eAAO,MAAM,2BAA2B,0GAmCvC,CAAC;AAEF,eAAO,MAAM,+BAA+B,gJAmC3C,CAAC"}
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,uB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C,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,0DA8BjC,CAAC"}
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,gDAYvD,CAAC"}
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,5 +1,5 @@
1
1
  import { type JsonApiAttributeHierarchyOut, type JsonApiAttributeHierarchyOutWithLinks } from "@gooddata/api-client-tiger";
2
2
  import { type ICatalogAttributeHierarchy } from "@gooddata/sdk-model";
3
- export declare function convertAttributeHierarchy({ id, type, attributes, links }: JsonApiAttributeHierarchyOutWithLinks): ICatalogAttributeHierarchy;
4
- export declare function convertAttributeHierarchyWithoutLinks({ id, type, attributes }: JsonApiAttributeHierarchyOut): ICatalogAttributeHierarchy;
3
+ export declare function convertAttributeHierarchy({ id, type, attributes, links, }: JsonApiAttributeHierarchyOutWithLinks): ICatalogAttributeHierarchy;
4
+ export declare function convertAttributeHierarchyWithoutLinks({ id, type, attributes, }: JsonApiAttributeHierarchyOut): ICatalogAttributeHierarchy;
5
5
  //# sourceMappingURL=HierarchyConverter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HierarchyConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/HierarchyConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,4BAA4B,EAEjC,KAAK,qCAAqC,EAE7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,0BAA0B,EAA0B,MAAM,qBAAqB,CAAC;AAE9F,wBAAgB,yBAAyB,CAAC,EACtC,EAAE,EACF,IAAI,EACJ,UAAU,EACV,KAAK,EACR,EAAE,qCAAqC,GAAG,0BAA0B,CAEpE;AAED,wBAAgB,qCAAqC,CAAC,EAClD,EAAE,EACF,IAAI,EACJ,UAAU,EACb,EAAE,4BAA4B,GAAG,0BAA0B,CAE3D"}
1
+ {"version":3,"file":"HierarchyConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/HierarchyConverter.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,4BAA4B,EAEjC,KAAK,qCAAqC,EAE7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,0BAA0B,EAA0B,MAAM,qBAAqB,CAAC;AAE9F,wBAAgB,yBAAyB,CAAC,EACtC,EAAE,EACF,IAAI,EACJ,UAAU,EACV,KAAK,GACR,EAAE,qCAAqC,GAAG,0BAA0B,CAEpE;AAED,wBAAgB,qCAAqC,CAAC,EAClD,EAAE,EACF,IAAI,EACJ,UAAU,GACb,EAAE,4BAA4B,GAAG,0BAA0B,CAE3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"IdSanitization.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/IdSanitization.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,oBAO5B,CAAC;AAEP;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEjF"}
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?: import("@gooddata/sdk-model").IObjectCertification | undefined) => IInsight;
4
- export declare const visualizationObjectsItemToInsight: (visualizationObject: JsonApiVisualizationObjectOut | JsonApiVisualizationObjectOutWithLinks, included?: (import("@gooddata/api-client-tiger").JsonApiAnalyticalDashboardOutWithLinks | import("@gooddata/api-client-tiger").JsonApiAttributeOutWithLinks | import("@gooddata/api-client-tiger").JsonApiComputedAttributeOutWithLinks | import("@gooddata/api-client-tiger").JsonApiDashboardPluginOutWithLinks | import("@gooddata/api-client-tiger").JsonApiDatasetOutWithLinks | import("@gooddata/api-client-tiger").JsonApiFactOutWithLinks | import("@gooddata/api-client-tiger").JsonApiFilterContextOutWithLinks | import("@gooddata/api-client-tiger").JsonApiLabelOutWithLinks | import("@gooddata/api-client-tiger").JsonApiMetricOutWithLinks | import("@gooddata/api-client-tiger").JsonApiParameterOutWithLinks | import("@gooddata/api-client-tiger").JsonApiUserIdentifierOutWithLinks | JsonApiVisualizationObjectOutWithLinks)[]) => IInsight;
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,EAGH,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,oWA6BxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,i6BA8B7C,CAAC;AAEF,eAAO,MAAM,qCAAqC,yEAMjD,CAAC"}
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<import("@gooddata/sdk-model").IMetadataObject>>(item: TItem) => (builder: T) => T;
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,KAA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BAAgB,sBAAsB,CAClC,SAAS,EAAE,mBAAmB,GAAG,4BAA4B,EAC7D,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,GACpD,mCAAmC,EAAE,CAwBvC;AA8ED;;;;GAIG;AACH,wBAAgB,oCAAoC,CAChD,SAAS,EAAE,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"}
@@ -36,7 +36,12 @@ export function createDataSetMap(included) {
36
36
  */
37
37
  export function convertAttributeLabels(attribute, labelsMap) {
38
38
  const labelsRefs = attribute.relationships?.labels?.data ?? [];
39
- const defaultView = attribute.relationships?.defaultView?.data;
39
+ const defaultViewRef = attribute.relationships?.defaultView?.data;
40
+ // A label the user may not view is withheld from `included` but keeps its `relationships` linkage,
41
+ // so an unresolvable defaultView must read as absent - otherwise the comparison below matches
42
+ // nothing and no label is marked default. Primary is the safe fallback: it inherits the
43
+ // attribute's view and so can never itself be restricted.
44
+ const defaultView = defaultViewRef && labelsMap[defaultViewRef.id] ? defaultViewRef : undefined;
40
45
  return labelsRefs
41
46
  .map((ref) => {
42
47
  const label = labelsMap[ref.id];
@@ -1 +1 @@
1
- {"version":3,"file":"MetricConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/MetricConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EACjC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,KAAK,sBAAsB,EAAS,MAAM,qBAAqB,CAAC;AAazE,wBAAgB,wBAAwB,CACpC,IAAI,EAAE,wBAAwB,GAAG,yBAAyB,EAC1D,QAAQ,GAAE,mCAAmC,EAAO,GACrD,sBAAsB,CA0BxB"}
1
+ {"version":3,"file":"MetricConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/MetricConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EACjC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,KAAK,sBAAsB,EAAS,MAAM,qBAAqB,CAAC;AAczE,wBAAgB,wBAAwB,CACpC,IAAI,EAAE,wBAAwB,GAAG,yBAAyB,EAC1D,QAAQ,GAAE,mCAAmC,EAAO,GACrD,sBAAsB,CA+BxB"}
@@ -2,6 +2,7 @@
2
2
  import { newMeasureMetadataObject } from "@gooddata/sdk-backend-base";
3
3
  import { idRef } from "@gooddata/sdk-model";
4
4
  import { convertCertificationFromBackend } from "./CertificationConverter.js";
5
+ import { fromTigerConditionalFormatting } from "./conditionalFormattingConversions.js";
5
6
  import { isInheritedObject } from "./ObjectInheritance.js";
6
7
  import { convertUserIdentifier } from "./UsersConverter.js";
7
8
  /**
@@ -24,6 +25,9 @@ export function convertMetricFromBackend(data, included = []) {
24
25
  .expression(attributes.content.maql)
25
26
  .format(attributes.content.format ?? "")
26
27
  .metricType(attributes.content.metricType)
28
+ .conditionalFormatting(attributes.conditionalFormatting
29
+ ? fromTigerConditionalFormatting(attributes.conditionalFormatting)
30
+ : undefined)
27
31
  .created(createdAt ?? undefined)
28
32
  .createdBy(convertUserIdentifier(createdBy, included))
29
33
  .updated(modifiedAt ?? undefined)
@@ -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,qHAY7E,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACjD,OAAO,EAAE,6BAA6B,GACvC,kCAAkC,GAAG,SAAS,CAuBhD"}
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;AAU7B,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,0BAA0B,GAAG,mCAAmC,GACzE,iBAAiB,CAUnB;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,wBAAwB,GAAG,iCAAiC,GACrE,eAAe,CAUjB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,yBAAyB,GAAG,OAAO,CAa3F"}
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 | null | undefined) => string | number | boolean | object | null | undefined;
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;;CAI1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,+FAKhC,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,0HAgBhC,CAAC;AAEH,eAAO,MAAM,YAAY,gGAEoE,CAAC"}
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,+BA4BvB,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,qDAInC,CAAC;AAEH,wBAAgB,qBAAqB,CACjC,qBAAqB,CAAC,EAAE,sBAAsB,EAC9C,QAAQ,GAAE,2BAA2B,EAAO,GAC7C,KAAK,GAAG,SAAS,CAqBnB"}
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,iJAgB9B,CAAC"}
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,uCA2NzB,CAAC"}
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<import("@gooddata/sdk-model").IMeasureDefinitionType>;
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,0FAuE1B,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[] | undefined) => IListedDashboard;
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;
@@ -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,mLA6CtC,CAAC;AAEF,eAAO,MAAM,qCAAqC,iFAMjD,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"}
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"}
@@ -17,7 +17,7 @@ export declare function convertDashboard(analyticalDashboard: JsonApiAnalyticalD
17
17
  */
18
18
  export declare function convertFilterContextFromBackend(filterContext: JsonApiFilterContextOutDocument): IFilterContext;
19
19
  export declare function convertFilterViewContextFilters(content: AnalyticalDashboardModelV2.IFilterContextWithTab): FilterContextItem[];
20
- export declare function convertDashboardPlugin({ data, links, included }: JsonApiDashboardPluginOutDocument): IDashboardPlugin;
20
+ export declare function convertDashboardPlugin({ data, links, included, }: JsonApiDashboardPluginOutDocument): IDashboardPlugin;
21
21
  export declare function convertDashboardPluginWithLinks(plugin: JsonApiDashboardPluginOutWithLinks, included?: JsonApiAnalyticalDashboardOutIncludes[]): IDashboardPlugin;
22
22
  export declare function prepareDrillLocalIdentifierIfMissing(layout?: IDashboardLayout): IDashboardLayout<IDashboardWidget> | undefined;
23
23
  //# sourceMappingURL=AnalyticalDashboardConverter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnalyticalDashboardConverter.d.ts","sourceRoot":"","sources":["../../../../../src/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,0BAA0B,EAK/B,KAAK,wBAAwB,EAC7B,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EAEvC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAIf,KAAK,gBAAgB,EAGrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAIrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAUtB,MAAM,qBAAqB,CAAC;AAgG7B,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,wBAAwB,GAAG,mBAAmB,CAQlG;AA4ID;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC5B,mBAAmB,EAAE,qCAAqC,EAC1D,aAAa,CAAC,EAAE,cAAc,GAC/B,UAAU,CA+EZ;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,aAAa,EAAE,+BAA+B,GAC/C,cAAc,CAYhB;AAED,wBAAgB,+BAA+B,CAC3C,OAAO,EAAE,0BAA0B,CAAC,qBAAqB,GAC1D,iBAAiB,EAAE,CAErB;AAED,wBAAgB,sBAAsB,CAAC,EACnC,IAAI,EACJ,KAAK,EACL,QAAQ,EACX,EAAE,iCAAiC,GAAG,gBAAgB,CAoBtD;AAED,wBAAgB,+BAA+B,CAC3C,MAAM,EAAE,kCAAkC,EAC1C,QAAQ,GAAE,qCAAqC,EAAO,GACvD,gBAAgB,CAoBlB;AAED,wBAAgB,oCAAoC,CAAC,MAAM,CAAC,EAAE,gBAAgB,kDA2B7E"}
1
+ {"version":3,"file":"AnalyticalDashboardConverter.d.ts","sourceRoot":"","sources":["../../../../../src/convertors/fromBackend/analyticalDashboards/v2/AnalyticalDashboardConverter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,0BAA0B,EAK/B,KAAK,wBAAwB,EAC7B,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EAEvC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAIf,KAAK,gBAAgB,EAGrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAIrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAUtB,MAAM,qBAAqB,CAAC;AAgG7B,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,wBAAwB,GAAG,mBAAmB,CAQlG;AA4ID;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC5B,mBAAmB,EAAE,qCAAqC,EAC1D,aAAa,CAAC,EAAE,cAAc,GAC/B,UAAU,CA+EZ;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,aAAa,EAAE,+BAA+B,GAC/C,cAAc,CAYhB;AAED,wBAAgB,+BAA+B,CAC3C,OAAO,EAAE,0BAA0B,CAAC,qBAAqB,GAC1D,iBAAiB,EAAE,CAErB;AAED,wBAAgB,sBAAsB,CAAC,EACnC,IAAI,EACJ,KAAK,EACL,QAAQ,GACX,EAAE,iCAAiC,GAAG,gBAAgB,CAoBtD;AAED,wBAAgB,+BAA+B,CAC3C,MAAM,EAAE,kCAAkC,EAC1C,QAAQ,GAAE,qCAAqC,EAAO,GACvD,gBAAgB,CAoBlB;AAED,wBAAgB,oCAAoC,CAAC,MAAM,CAAC,EAAE,gBAAgB,kDA2B7E"}
@@ -0,0 +1,12 @@
1
+ import { type JsonApiMetricInAttributesConditionalFormatting as TigerConditionalFormatting } from "@gooddata/api-client-tiger";
2
+ import { type ISemanticConditionalFormatting } from "@gooddata/sdk-model";
3
+ /**
4
+ * Converts semantic-layer conditional formatting to the metadata-api wire shape.
5
+ */
6
+ export declare function toTigerConditionalFormatting(conditionalFormatting: ISemanticConditionalFormatting): TigerConditionalFormatting;
7
+ /**
8
+ * Converts metadata-api wire conditional formatting back to the SDK model. A wire condition without
9
+ * an `id` (another API client may not assign one) gets a fresh client-side one.
10
+ */
11
+ export declare function fromTigerConditionalFormatting(conditionalFormatting: TigerConditionalFormatting): ISemanticConditionalFormatting;
12
+ //# sourceMappingURL=conditionalFormattingConversions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conditionalFormattingConversions.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/conditionalFormattingConversions.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,8CAA8C,IAAI,0BAA0B,EAEpF,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGH,KAAK,8BAA8B,EAEtC,MAAM,qBAAqB,CAAC;AAyB7B;;GAEG;AACH,wBAAgB,4BAA4B,CACxC,qBAAqB,EAAE,8BAA8B,GACtD,0BAA0B,CAQ5B;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAC1C,qBAAqB,EAAE,0BAA0B,GAClD,8BAA8B,CAShC"}