@gooddata/sdk-backend-tiger 11.62.0-alpha.0 → 11.62.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 (59) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/backend/features/feature.d.ts.map +1 -1
  4. package/esm/backend/features/feature.js +2 -1
  5. package/esm/backend/localization/aggregate.d.ts +27 -0
  6. package/esm/backend/localization/aggregate.d.ts.map +1 -0
  7. package/esm/backend/localization/aggregate.js +151 -0
  8. package/esm/backend/localization/fixture.d.ts +21 -0
  9. package/esm/backend/localization/fixture.d.ts.map +1 -0
  10. package/esm/backend/localization/fixture.js +125 -0
  11. package/esm/backend/localization/index.d.ts +35 -0
  12. package/esm/backend/localization/index.d.ts.map +1 -0
  13. package/esm/backend/localization/index.js +134 -0
  14. package/esm/backend/organization/index.d.ts +2 -1
  15. package/esm/backend/organization/index.d.ts.map +1 -1
  16. package/esm/backend/organization/index.js +4 -0
  17. package/esm/backend/organization/settings.d.ts +4 -1
  18. package/esm/backend/organization/settings.d.ts.map +1 -1
  19. package/esm/backend/organization/settings.js +12 -0
  20. package/esm/backend/settings/mapping.d.ts.map +1 -1
  21. package/esm/backend/settings/mapping.js +1 -0
  22. package/esm/backend/tigerSpecificFunctions.js +2 -3
  23. package/esm/backend/uiFeatures.d.ts +7 -4
  24. package/esm/backend/uiFeatures.d.ts.map +1 -1
  25. package/esm/backend/uiFeatures.js +6 -3
  26. package/esm/backend/user/settings.d.ts +1 -1
  27. package/esm/backend/user/settings.d.ts.map +1 -1
  28. package/esm/backend/workspace/genAI/ChatConversations.d.ts +7 -3
  29. package/esm/backend/workspace/genAI/ChatConversations.d.ts.map +1 -1
  30. package/esm/backend/workspace/genAI/ChatConversations.js +31 -12
  31. package/esm/backend/workspace/index.d.ts +3 -2
  32. package/esm/backend/workspace/index.d.ts.map +1 -1
  33. package/esm/backend/workspace/index.js +7 -3
  34. package/esm/backend/workspace/publisher.d.ts +28 -0
  35. package/esm/backend/workspace/publisher.d.ts.map +1 -0
  36. package/esm/backend/workspace/{reports.js → publisher.js} +51 -49
  37. package/esm/backend/workspace/settings/index.d.ts +1 -1
  38. package/esm/backend/workspace/settings/index.d.ts.map +1 -1
  39. package/esm/convertors/fromBackend/PublisherConverter.d.ts +6 -0
  40. package/esm/convertors/fromBackend/PublisherConverter.d.ts.map +1 -0
  41. package/esm/convertors/fromBackend/{ReportsConverter.js → PublisherConverter.js} +3 -3
  42. package/esm/convertors/fromBackend/genAIConvertor.d.ts.map +1 -1
  43. package/esm/convertors/fromBackend/genAIConvertor.js +18 -7
  44. package/esm/convertors/fromBackend/publisherDocumentPartConvertor.d.ts +8 -0
  45. package/esm/convertors/fromBackend/publisherDocumentPartConvertor.d.ts.map +1 -0
  46. package/esm/convertors/fromBackend/{reportPartConvertor.js → publisherDocumentPartConvertor.js} +24 -22
  47. package/esm/convertors/toBackend/PublisherConverter.d.ts +6 -0
  48. package/esm/convertors/toBackend/PublisherConverter.d.ts.map +1 -0
  49. package/esm/convertors/toBackend/PublisherConverter.js +28 -0
  50. package/package.json +12 -12
  51. package/esm/backend/workspace/reports.d.ts +0 -28
  52. package/esm/backend/workspace/reports.d.ts.map +0 -1
  53. package/esm/convertors/fromBackend/ReportsConverter.d.ts +0 -6
  54. package/esm/convertors/fromBackend/ReportsConverter.d.ts.map +0 -1
  55. package/esm/convertors/fromBackend/reportPartConvertor.d.ts +0 -8
  56. package/esm/convertors/fromBackend/reportPartConvertor.d.ts.map +0 -1
  57. package/esm/convertors/toBackend/ReportsConverter.d.ts +0 -6
  58. package/esm/convertors/toBackend/ReportsConverter.d.ts.map +0 -1
  59. package/esm/convertors/toBackend/ReportsConverter.js +0 -28
@@ -1,28 +0,0 @@
1
- import { type IExportResult, type IReportExportPdfOptions, type IWorkspaceReportsService } from "@gooddata/sdk-backend-spi";
2
- import { type IReport, type IReportDefinition, type IReportPageLayout, type IReportPageLayoutDefinition, type IReportTemplate, type IReportTemplateDefinition, type ObjRef } from "@gooddata/sdk-model";
3
- import { type TigerAuthenticatedCallGuard } from "../../types/index.js";
4
- export declare class TigerWorkspaceReportsService implements IWorkspaceReportsService {
5
- private readonly authCall;
6
- private readonly workspace;
7
- constructor(authCall: TigerAuthenticatedCallGuard, workspace: string);
8
- getReportPageLayouts: () => Promise<IReportPageLayout[]>;
9
- getReportPageLayout: (ref: ObjRef) => Promise<IReportPageLayout>;
10
- createReportPageLayout: (layout: IReportPageLayoutDefinition) => Promise<IReportPageLayout>;
11
- updateReportPageLayout: (layout: IReportPageLayout) => Promise<IReportPageLayout>;
12
- deleteReportPageLayout: (ref: ObjRef) => Promise<void>;
13
- getReportTemplates: () => Promise<IReportTemplate[]>;
14
- getReportTemplate: (ref: ObjRef) => Promise<IReportTemplate>;
15
- createReportTemplate: (template: IReportTemplateDefinition) => Promise<IReportTemplate>;
16
- updateReportTemplate: (template: IReportTemplate) => Promise<IReportTemplate>;
17
- deleteReportTemplate: (ref: ObjRef) => Promise<void>;
18
- getReports: () => Promise<IReport[]>;
19
- getReport: (ref: ObjRef) => Promise<IReport>;
20
- createReport: (report: IReportDefinition) => Promise<IReport>;
21
- updateReport: (report: IReport) => Promise<IReport>;
22
- deleteReport: (ref: ObjRef) => Promise<void>;
23
- exportReportToPdf: (ref: ObjRef, options?: IReportExportPdfOptions) => Promise<IExportResult>;
24
- private newObjectId;
25
- private editableObjectId;
26
- private assertNotBuiltIn;
27
- }
28
- //# sourceMappingURL=reports.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../../src/backend/workspace/reports.ts"],"names":[],"mappings":"AAuBA,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAEhC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,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IAEK,YAAY,QAAe,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC,CAQtD;IAEK,iBAAiB,QACf,MAAM,YACD,uBAAuB,KAClC,OAAO,CAAC,aAAa,CAAC,CAsBvB;IAEF,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,gBAAgB;CAK3B"}
@@ -1,6 +0,0 @@
1
- import { type JsonApiReportOut, type JsonApiReportOutWithLinks, type JsonApiReportPageLayoutOut, type JsonApiReportPageLayoutOutWithLinks, type JsonApiReportTemplateOut, type JsonApiReportTemplateOutWithLinks, type JsonApiUserIdentifierOutWithLinks } from "@gooddata/api-client-tiger";
2
- import { type IReport, type IReportPageLayout, type IReportTemplate } from "@gooddata/sdk-model";
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
- //# sourceMappingURL=ReportsConverter.d.ts.map
@@ -1 +0,0 @@
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,8 +0,0 @@
1
- import { type AiReportPart } from "@gooddata/api-client-tiger";
2
- import { type IChatConversationReportContent } from "@gooddata/sdk-backend-spi";
3
- /**
4
- * Converts a report part. A report that cannot be read still yields a part, with `report` null, so the
5
- * chat can say the report is unavailable instead of dropping it.
6
- */
7
- export declare function convertReportPart(part: AiReportPart): IChatConversationReportContent;
8
- //# sourceMappingURL=reportPartConvertor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reportPartConvertor.d.ts","sourceRoot":"","sources":["../../../src/convertors/fromBackend/reportPartConvertor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAsEhF;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,GAAG,8BAA8B,CAUpF"}
@@ -1,6 +0,0 @@
1
- import { type JsonApiReportInAttributes, type JsonApiReportPageLayoutInAttributes, type JsonApiReportTemplateInAttributes } from "@gooddata/api-client-tiger";
2
- import { type IReportDefinition, type IReportPageLayoutDefinition, type IReportTemplateDefinition } from "@gooddata/sdk-model";
3
- export declare function convertReportPageLayoutToBackend(layout: IReportPageLayoutDefinition): JsonApiReportPageLayoutInAttributes;
4
- export declare function convertReportTemplateToBackend(template: IReportTemplateDefinition): JsonApiReportTemplateInAttributes;
5
- export declare function convertReportToBackend(report: IReportDefinition): JsonApiReportInAttributes;
6
- //# sourceMappingURL=ReportsConverter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReportsConverter.d.ts","sourceRoot":"","sources":["../../../src/convertors/toBackend/ReportsConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EACjC,MAAM,qBAAqB,CAAC;AAE7B,wBAAgB,gCAAgC,CAC5C,MAAM,EAAE,2BAA2B,GACpC,mCAAmC,CAOrC;AAED,wBAAgB,8BAA8B,CAC1C,QAAQ,EAAE,yBAAyB,GACpC,iCAAiC,CAOnC;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,GAAG,yBAAyB,CAU3F"}
@@ -1,28 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- export function convertReportPageLayoutToBackend(layout) {
3
- return {
4
- title: layout.title,
5
- description: layout.description,
6
- tags: layout.tags,
7
- content: layout.content,
8
- };
9
- }
10
- export function convertReportTemplateToBackend(template) {
11
- return {
12
- title: template.title,
13
- description: template.description,
14
- tags: template.tags,
15
- content: template.content,
16
- };
17
- }
18
- export function convertReportToBackend(report) {
19
- return {
20
- title: report.title,
21
- description: report.description,
22
- tags: report.tags,
23
- periodStart: report.periodStart,
24
- periodEnd: report.periodEnd,
25
- content: report.content,
26
- variableValues: report.variableValues,
27
- };
28
- }