@gooddata/sdk-backend-spi 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.
@@ -139,13 +139,13 @@ import { IOrganizationUser } from '@gooddata/sdk-model';
139
139
  import { IOrganizationUserGroup } from '@gooddata/sdk-model';
140
140
  import { IParameterMetadataObject } from '@gooddata/sdk-model';
141
141
  import { IParameterMetadataObjectDefinition } from '@gooddata/sdk-model';
142
+ import { IPublisherDocument } from '@gooddata/sdk-model';
143
+ import { IPublisherDocumentDefinition } from '@gooddata/sdk-model';
144
+ import { IPublisherDocumentTemplate } from '@gooddata/sdk-model';
145
+ import { IPublisherDocumentTemplateDefinition } from '@gooddata/sdk-model';
146
+ import { IPublisherPageLayout } from '@gooddata/sdk-model';
147
+ import { IPublisherPageLayoutDefinition } from '@gooddata/sdk-model';
142
148
  import { IRelativeDateFilter } from '@gooddata/sdk-model';
143
- import { IReport } from '@gooddata/sdk-model';
144
- import { IReportDefinition } from '@gooddata/sdk-model';
145
- import { IReportPageLayout } from '@gooddata/sdk-model';
146
- import { IReportPageLayoutDefinition } from '@gooddata/sdk-model';
147
- import { IReportTemplate } from '@gooddata/sdk-model';
148
- import { IReportTemplateDefinition } from '@gooddata/sdk-model';
149
149
  import { IResultHeader } from '@gooddata/sdk-model';
150
150
  import { IResultWarning } from '@gooddata/sdk-model';
151
151
  import type { IScheduledMail } from '@gooddata/sdk-model';
@@ -919,11 +919,17 @@ export declare interface IAnalyticalWorkspace {
919
919
  */
920
920
  exportTemplates(): IWorkspaceExportTemplatesService;
921
921
  /**
922
- * Returns service that can be used to manage report page layouts, report templates and reports.
922
+ * Returns service that can be used to manage page layouts, document templates and documents.
923
923
  *
924
924
  * @alpha
925
925
  */
926
- reports(): IWorkspaceReportsService;
926
+ publisher(): IWorkspacePublisherService;
927
+ /**
928
+ * Returns service that reports how languages and translations are used in the workspace.
929
+ *
930
+ * @alpha
931
+ */
932
+ localization(): IWorkspaceLocalizationService;
927
933
  }
928
934
 
929
935
  /**
@@ -1485,6 +1491,8 @@ export declare interface IBackendCapabilities {
1485
1491
  canExecuteByReference?: boolean;
1486
1492
  /**
1487
1493
  * Indicates whether backend supports adding CSV datasets and switching between them.
1494
+ *
1495
+ * @deprecated No backend supports the CSV uploader any more. The capability is not read.
1488
1496
  */
1489
1497
  supportsCsvUploader?: boolean;
1490
1498
  /**
@@ -2146,48 +2154,48 @@ export declare type IChatConversationMultipartContent = {
2146
2154
  * GenAI Chat Conversation multipart content
2147
2155
  * @internal
2148
2156
  */
2149
- export declare type IChatConversationMultipartPart = IChatConversationTextContent | IChatConversationVisualisationContent | IChatConversationAlertProposalContent | IChatConversationKeyDriverAnalysisContent | IChatConversationClarifyingQuestionsContent | IChatConversationWhatIfContent | IChatConversationSearchContent | IChatConversationDashboardContent | IChatConversationReportContent;
2150
-
2151
- /**
2152
- * GenAI Chat Conversation reasoning content
2153
- * @internal
2154
- */
2155
- export declare type IChatConversationReasoningContent = {
2156
- type: "reasoning";
2157
- summary: string;
2158
- };
2157
+ export declare type IChatConversationMultipartPart = IChatConversationTextContent | IChatConversationVisualisationContent | IChatConversationAlertProposalContent | IChatConversationKeyDriverAnalysisContent | IChatConversationClarifyingQuestionsContent | IChatConversationWhatIfContent | IChatConversationSearchContent | IChatConversationDashboardContent | IChatConversationPublisherDocumentContent;
2159
2158
 
2160
2159
  /**
2161
- * GenAI Chat Conversation report content
2160
+ * GenAI Chat Conversation publisher document content
2162
2161
  * @internal
2163
2162
  */
2164
- export declare type IChatConversationReportContent = {
2165
- type: "report";
2163
+ export declare type IChatConversationPublisherDocumentContent = {
2164
+ type: "publisherDocument";
2166
2165
  /**
2167
- * Snapshot of the whole report, not a change to apply to an earlier one.
2166
+ * Snapshot of the whole document, not a change to apply to an earlier one.
2168
2167
  */
2169
- report: IReportDefinition | null;
2168
+ publisherDocument: IPublisherDocumentDefinition | null;
2170
2169
  /**
2171
- * Id of the report this version of the draft was saved as. Absent until it is saved.
2170
+ * Id of the document this version of the draft was saved as. Absent until it is saved.
2172
2171
  */
2173
2172
  saved?: string | null;
2174
2173
  /**
2175
- * Name of the draft in the conversation, needed to record the report it is saved as.
2174
+ * Name of the draft in the conversation, needed to record the document it is saved as.
2176
2175
  */
2177
2176
  ref?: string | null;
2178
2177
  /**
2179
- * Id of the saved report the draft edits. Saving the draft updates that report. Absent when the
2180
- * draft is a new report.
2178
+ * Id of the saved document the draft edits. Saving the draft updates that document. Absent when the
2179
+ * draft is a new document.
2181
2180
  */
2182
- baseReportId?: string | null;
2181
+ baseDocumentId?: string | null;
2183
2182
  /**
2184
2183
  * Name of the draft version this one reworks. Absent for a first draft.
2185
2184
  */
2186
2185
  refines?: string | null;
2187
2186
  /**
2188
- * Whether this version was written from the report open in the editor, so the editor can apply it.
2187
+ * Whether this version was written from the document open in the editor, so the editor can apply it.
2189
2188
  */
2190
- reworksOpenReport?: boolean;
2189
+ reworksOpenDocument?: boolean;
2190
+ };
2191
+
2192
+ /**
2193
+ * GenAI Chat Conversation reasoning content
2194
+ * @internal
2195
+ */
2196
+ export declare type IChatConversationReasoningContent = {
2197
+ type: "reasoning";
2198
+ summary: string;
2191
2199
  };
2192
2200
 
2193
2201
  /**
@@ -2298,12 +2306,16 @@ export declare interface IChatConversationThread {
2298
2306
  */
2299
2307
  resaveVisualisation(oldVisualizationId: string, newVisualizationId: string): Promise<void>;
2300
2308
  /**
2301
- * Records the saved report that a report drafted in the conversation became.
2309
+ * Save the user dashboard for the interaction.
2310
+ */
2311
+ resaveDashboard(dashboardId: string, newDashboardId: string): Promise<void>;
2312
+ /**
2313
+ * Records the saved document that a document drafted in the conversation became.
2302
2314
  *
2303
- * @param reportRef - name of the draft in the conversation
2304
- * @param savedReportId - id of the report it was saved as
2315
+ * @param documentRef - name of the draft in the conversation
2316
+ * @param savedDocumentId - id of the document it was saved as
2305
2317
  */
2306
- resaveReport(reportRef: string, savedReportId: string): Promise<void>;
2318
+ resavePublisherDocument(documentRef: string, savedDocumentId: string): Promise<void>;
2307
2319
  /**
2308
2320
  * Add a user message to the chat thread.
2309
2321
  */
@@ -5343,6 +5355,224 @@ export declare interface ILlmProvidersQuery {
5343
5355
  */
5344
5356
  export declare type ILlmProvidersQueryResult = IPagedResource<ILlmProvider>;
5345
5357
 
5358
+ /**
5359
+ * The value a workspace gets when neither it nor its ancestors set one.
5360
+ *
5361
+ * @alpha
5362
+ */
5363
+ export declare interface ILocalizationDefault {
5364
+ content: ILocalizationValueContent;
5365
+ source: LocalizationUsageSource;
5366
+ }
5367
+
5368
+ /**
5369
+ * Paging of the localization lists.
5370
+ *
5371
+ * @alpha
5372
+ */
5373
+ export declare interface ILocalizationPageQuery {
5374
+ page?: number;
5375
+ size?: number;
5376
+ }
5377
+
5378
+ /**
5379
+ * Resolved value of one setting in a usage list row.
5380
+ *
5381
+ * @alpha
5382
+ */
5383
+ export declare interface ILocalizationResolvedValue {
5384
+ content: ILocalizationValueContent;
5385
+ source: LocalizationUsageSource;
5386
+ /**
5387
+ * Workspace the value is inherited from. Set only when `source` is `PARENT`.
5388
+ */
5389
+ originId?: string;
5390
+ }
5391
+
5392
+ /**
5393
+ * Workspaces and people that use a value for one setting.
5394
+ *
5395
+ * @alpha
5396
+ */
5397
+ export declare interface ILocalizationSettingUsage {
5398
+ workspaces: ILocalizationUsageCount;
5399
+ users: ILocalizationUsageCount;
5400
+ }
5401
+
5402
+ /**
5403
+ * Languages with metadata or data-label translations in scope.
5404
+ *
5405
+ * @alpha
5406
+ */
5407
+ export declare interface ILocalizationStatistics {
5408
+ metadata: {
5409
+ locales: ILocalizationTranslatedLocale[];
5410
+ };
5411
+ data: {
5412
+ locales: ILocalizationTranslatedLocale[];
5413
+ };
5414
+ }
5415
+
5416
+ /**
5417
+ * Translation coverage of what one workspace owns.
5418
+ *
5419
+ * @alpha
5420
+ */
5421
+ export declare interface ILocalizationStatisticsWorkspace {
5422
+ id: string;
5423
+ name: string;
5424
+ parentId: string | null;
5425
+ sourceLanguage: string | null;
5426
+ metadata: ILocalizationTranslationCoverage;
5427
+ data: ILocalizationTranslationCoverage;
5428
+ }
5429
+
5430
+ /**
5431
+ * One page of the translation coverage per workspace.
5432
+ *
5433
+ * @alpha
5434
+ */
5435
+ export declare interface ILocalizationStatisticsWorkspacesPage {
5436
+ workspaces: ILocalizationStatisticsWorkspace[];
5437
+ totalCount: number;
5438
+ }
5439
+
5440
+ /**
5441
+ * A language that has translations.
5442
+ *
5443
+ * @alpha
5444
+ */
5445
+ export declare interface ILocalizationTranslatedLocale {
5446
+ locale: string;
5447
+ }
5448
+
5449
+ /**
5450
+ * Translation coverage of one kind in one workspace.
5451
+ *
5452
+ * @remarks
5453
+ * Metadata counts translatable texts; data counts labels.
5454
+ *
5455
+ * @alpha
5456
+ */
5457
+ export declare interface ILocalizationTranslationCoverage {
5458
+ total: number;
5459
+ locales: Array<ILocalizationTranslatedLocale & {
5460
+ translated: number;
5461
+ }>;
5462
+ }
5463
+
5464
+ /**
5465
+ * Language usage summary of the localization overview.
5466
+ *
5467
+ * @alpha
5468
+ */
5469
+ export declare interface ILocalizationUsage {
5470
+ /**
5471
+ * Defaults per setting. `null` when the setting has no default.
5472
+ */
5473
+ defaults: Record<LocalizationSettingType, ILocalizationDefault | null>;
5474
+ /**
5475
+ * One entry per language.
5476
+ */
5477
+ values: ILocalizationValueUsage[];
5478
+ }
5479
+
5480
+ /**
5481
+ * A count, split by the source of the value.
5482
+ *
5483
+ * @alpha
5484
+ */
5485
+ export declare interface ILocalizationUsageCount {
5486
+ total: number;
5487
+ bySource: Partial<Record<LocalizationUsageSource, number>>;
5488
+ }
5489
+
5490
+ /**
5491
+ * Filters of the workspaces and people behind a usage count. All filters are optional.
5492
+ *
5493
+ * @alpha
5494
+ */
5495
+ export declare interface ILocalizationUsageListQuery extends ILocalizationPageQuery {
5496
+ value?: string;
5497
+ setting?: LocalizationSettingType;
5498
+ source?: LocalizationUsageSource;
5499
+ }
5500
+
5501
+ /**
5502
+ * One person behind a usage count.
5503
+ *
5504
+ * @alpha
5505
+ */
5506
+ export declare interface ILocalizationUsageUser {
5507
+ id: string;
5508
+ name?: string;
5509
+ email?: string;
5510
+ source: LocalizationUsageSource;
5511
+ bySetting: Partial<Record<LocalizationSettingType, ILocalizationResolvedValue>>;
5512
+ }
5513
+
5514
+ /**
5515
+ * One page of the people behind a usage count.
5516
+ *
5517
+ * @alpha
5518
+ */
5519
+ export declare interface ILocalizationUsageUsersPage {
5520
+ users: ILocalizationUsageUser[];
5521
+ totalCount: number;
5522
+ }
5523
+
5524
+ /**
5525
+ * One workspace behind a usage count.
5526
+ *
5527
+ * @alpha
5528
+ */
5529
+ export declare interface ILocalizationUsageWorkspace {
5530
+ id: string;
5531
+ name: string;
5532
+ parentId: string | null;
5533
+ childrenCount: number;
5534
+ source: LocalizationUsageSource;
5535
+ bySetting: Partial<Record<LocalizationSettingType, ILocalizationResolvedValue>>;
5536
+ }
5537
+
5538
+ /**
5539
+ * One page of the workspaces behind a usage count.
5540
+ *
5541
+ * @alpha
5542
+ */
5543
+ export declare interface ILocalizationUsageWorkspacesPage {
5544
+ workspaces: ILocalizationUsageWorkspace[];
5545
+ totalCount: number;
5546
+ }
5547
+
5548
+ /**
5549
+ * Locale value. A `null` value means no value.
5550
+ *
5551
+ * @alpha
5552
+ */
5553
+ export declare interface ILocalizationValueContent {
5554
+ value: string | null;
5555
+ }
5556
+
5557
+ /**
5558
+ * Usage of one language across the three locale settings.
5559
+ *
5560
+ * @remarks
5561
+ * The top-level counts include each workspace and person once, under the strongest source.
5562
+ * At organization level, people count only under a value they set themselves.
5563
+ *
5564
+ * @alpha
5565
+ */
5566
+ export declare interface ILocalizationValueUsage {
5567
+ content: ILocalizationValueContent;
5568
+ workspaces: ILocalizationUsageCount;
5569
+ users: ILocalizationUsageCount;
5570
+ /**
5571
+ * The same counts per setting. Settings that nothing uses the value for are left out.
5572
+ */
5573
+ bySetting: Partial<Record<LocalizationSettingType, ILocalizationSettingUsage>>;
5574
+ }
5575
+
5346
5576
  /**
5347
5577
  * Token representing part of parsed MAQL measure expression.
5348
5578
  *
@@ -5891,6 +6121,12 @@ export declare interface IOrganization {
5891
6121
  * @alpha
5892
6122
  */
5893
6123
  ipAllowlists(): IOrganizationIpAllowlistService;
6124
+ /**
6125
+ * Returns service that reports how languages and translations are used across the organization.
6126
+ *
6127
+ * @alpha
6128
+ */
6129
+ localization(): IOrganizationLocalizationService;
5894
6130
  }
5895
6131
 
5896
6132
  /**
@@ -6457,6 +6693,34 @@ export declare interface IOrganizationLlmProvidersService {
6457
6693
  listLlmProviderModels(provider: Partial<LlmProviderPatch>): Promise<LlmProviderListModelsResults>;
6458
6694
  }
6459
6695
 
6696
+ /**
6697
+ * Reads how languages and translations are used across the organization.
6698
+ *
6699
+ * @alpha
6700
+ */
6701
+ export declare interface IOrganizationLocalizationService {
6702
+ /**
6703
+ * Summarize language usage across all workspaces and people.
6704
+ */
6705
+ getUsage(): Promise<ILocalizationUsage>;
6706
+ /**
6707
+ * List the workspaces behind a usage count, sorted by name.
6708
+ */
6709
+ getUsageWorkspaces(query?: ILocalizationUsageListQuery): Promise<ILocalizationUsageWorkspacesPage>;
6710
+ /**
6711
+ * List the people behind a usage count, sorted by name.
6712
+ */
6713
+ getUsageUsers(query?: ILocalizationUsageListQuery): Promise<ILocalizationUsageUsersPage>;
6714
+ /**
6715
+ * List the languages with translations in the organization.
6716
+ */
6717
+ getStatistics(): Promise<ILocalizationStatistics>;
6718
+ /**
6719
+ * List translation coverage per workspace.
6720
+ */
6721
+ getStatisticsWorkspaces(query?: ILocalizationPageQuery): Promise<ILocalizationStatisticsWorkspacesPage>;
6722
+ }
6723
+
6460
6724
  /**
6461
6725
  * This service provides access to organization notifications channels.
6462
6726
  *
@@ -6835,6 +7099,22 @@ export declare interface IOrganizationSettingsService {
6835
7099
  * @alpha
6836
7100
  */
6837
7101
  getAiRateLimit(): Promise<IAiRateLimit | undefined>;
7102
+ /**
7103
+ * Returns the metadata locale set on the organization (without resolving inherited defaults).
7104
+ * Returns `undefined` when the organization has none.
7105
+ *
7106
+ * @returns promise
7107
+ * @alpha
7108
+ */
7109
+ getMetadataLocale(): Promise<string | undefined>;
7110
+ /**
7111
+ * Returns the data locale set on the organization (without resolving inherited defaults).
7112
+ * Returns `undefined` when the organization has none.
7113
+ *
7114
+ * @returns promise
7115
+ * @alpha
7116
+ */
7117
+ getDataLocale(): Promise<string | undefined>;
6838
7118
  /**
6839
7119
  * Sets enable drill to URL by default configuration for organization.
6840
7120
  *
@@ -7592,6 +7872,25 @@ export declare interface IPreparedExecutionOptions {
7592
7872
  context?: IExecutionContext;
7593
7873
  }
7594
7874
 
7875
+ /**
7876
+ * Options for exporting a document to PDF.
7877
+ *
7878
+ * @alpha
7879
+ */
7880
+ export declare interface IPublisherDocumentExportPdfOptions {
7881
+ /**
7882
+ * File name for the export, without the extension.
7883
+ */
7884
+ filename?: string;
7885
+ /**
7886
+ * Override the default export result polling timeout (in milliseconds).
7887
+ *
7888
+ * @remarks
7889
+ * If not specified, there is still a default timeout applied.
7890
+ */
7891
+ timeout?: number;
7892
+ }
7893
+
7595
7894
  /**
7596
7895
  * Custom title override for raw exports.
7597
7896
  *
@@ -7648,25 +7947,6 @@ export declare interface IReferencesService {
7648
7947
  getReferences(root: IdentifierRef | IdentifierRef[], opts?: IReferencesOption): Promise<IReferencesResult>;
7649
7948
  }
7650
7949
 
7651
- /**
7652
- * Options for exporting a report to PDF.
7653
- *
7654
- * @alpha
7655
- */
7656
- export declare interface IReportExportPdfOptions {
7657
- /**
7658
- * File name for the export, without the extension.
7659
- */
7660
- filename?: string;
7661
- /**
7662
- * Override the default export result polling timeout (in milliseconds).
7663
- *
7664
- * @remarks
7665
- * If not specified, there is still a default timeout applied.
7666
- */
7667
- timeout?: number;
7668
- }
7669
-
7670
7950
  /**
7671
7951
  * Correlation metadata that will be included in HTTP requests.
7672
7952
  * The exact mechanism for including correlation metadata in requests
@@ -7765,16 +8045,16 @@ export declare function isChatConversationKeyDriverAnalysisContent(content: ICha
7765
8045
  export declare function isChatConversationMultipartContent(content: IChatConversationContent): content is IChatConversationMultipartContent;
7766
8046
 
7767
8047
  /**
7768
- * Is chat conversation reasoning content
8048
+ * Is chat conversation publisher document content
7769
8049
  * @internal
7770
8050
  */
7771
- export declare function isChatConversationReasoningContent(content: IChatConversationContent): content is IChatConversationReasoningContent;
8051
+ export declare function isChatConversationPublisherDocumentContent(content: IChatConversationMultipartPart): content is IChatConversationPublisherDocumentContent;
7772
8052
 
7773
8053
  /**
7774
- * Is chat conversation report content
8054
+ * Is chat conversation reasoning content
7775
8055
  * @internal
7776
8056
  */
7777
- export declare function isChatConversationReportContent(content: IChatConversationMultipartPart): content is IChatConversationReportContent;
8057
+ export declare function isChatConversationReasoningContent(content: IChatConversationContent): content is IChatConversationReasoningContent;
7778
8058
 
7779
8059
  /**
7780
8060
  * Is chat conversation search content
@@ -9694,6 +9974,37 @@ export declare interface IWorkspaceKeyDriverAnalysisService {
9694
9974
  cancelChangeAnalysis(): Promise<void>;
9695
9975
  }
9696
9976
 
9977
+ /**
9978
+ * Reads how languages and translations are used in one workspace.
9979
+ *
9980
+ * @remarks
9981
+ * Usage covers the workspace alone. Statistics cover the workspace and its ancestors.
9982
+ *
9983
+ * @alpha
9984
+ */
9985
+ export declare interface IWorkspaceLocalizationService {
9986
+ /**
9987
+ * Summarize language usage in the workspace and among the people with access to it.
9988
+ */
9989
+ getUsage(): Promise<ILocalizationUsage>;
9990
+ /**
9991
+ * List the workspaces behind a usage count, sorted by name.
9992
+ */
9993
+ getUsageWorkspaces(query?: ILocalizationUsageListQuery): Promise<ILocalizationUsageWorkspacesPage>;
9994
+ /**
9995
+ * List the people behind a usage count, sorted by name.
9996
+ */
9997
+ getUsageUsers(query?: ILocalizationUsageListQuery): Promise<ILocalizationUsageUsersPage>;
9998
+ /**
9999
+ * List the languages with translations in the workspace and its ancestors.
10000
+ */
10001
+ getStatistics(): Promise<ILocalizationStatistics>;
10002
+ /**
10003
+ * List translation coverage of the workspace and its ancestors.
10004
+ */
10005
+ getStatisticsWorkspaces(query?: ILocalizationPageQuery): Promise<ILocalizationStatisticsWorkspacesPage>;
10006
+ }
10007
+
9697
10008
  /**
9698
10009
  * Service for querying information about logical data model.
9699
10010
  *
@@ -9912,83 +10223,83 @@ export declare interface IWorkspacePermissionsService {
9912
10223
  }
9913
10224
 
9914
10225
  /**
9915
- * Service for managing report page layouts, report templates and reports.
10226
+ * Service for managing page layouts, document templates and documents.
9916
10227
  *
9917
10228
  * @remarks
9918
- * Report page layouts returned by this service include the built-in layouts shipped with the
9919
- * product ({@link @gooddata/sdk-model#BuiltInReportPageLayouts}). Built-ins carry
10229
+ * Page layouts returned by this service include the built-in layouts shipped with the
10230
+ * product ({@link @gooddata/sdk-model#BuiltInPublisherPageLayouts}). Built-ins carry
9920
10231
  * `isBuiltIn: true`, are never persisted on the backend, and reject update and delete.
9921
10232
  *
9922
10233
  * @alpha
9923
10234
  */
9924
- export declare interface IWorkspaceReportsService {
10235
+ export declare interface IWorkspacePublisherService {
9925
10236
  /**
9926
- * Get the list of report page layouts available in the workspace, built-in layouts first.
10237
+ * Get the list of page layouts available in the workspace, built-in layouts first.
9927
10238
  */
9928
- getReportPageLayouts(): Promise<IReportPageLayout[]>;
10239
+ getPageLayouts(): Promise<IPublisherPageLayout[]>;
9929
10240
  /**
9930
- * Get a single report page layout by its reference.
10241
+ * Get a single page layout by its reference.
9931
10242
  */
9932
- getReportPageLayout(ref: ObjRef): Promise<IReportPageLayout>;
10243
+ getPageLayout(ref: ObjRef): Promise<IPublisherPageLayout>;
9933
10244
  /**
9934
- * Create a new report page layout.
10245
+ * Create a new page layout.
9935
10246
  */
9936
- createReportPageLayout(page: IReportPageLayoutDefinition): Promise<IReportPageLayout>;
10247
+ createPageLayout(page: IPublisherPageLayoutDefinition): Promise<IPublisherPageLayout>;
9937
10248
  /**
9938
- * Update an existing report page layout. Rejects built-in and locked layouts.
10249
+ * Update an existing page layout. Rejects built-in and locked layouts.
9939
10250
  */
9940
- updateReportPageLayout(page: IReportPageLayout): Promise<IReportPageLayout>;
10251
+ updatePageLayout(page: IPublisherPageLayout): Promise<IPublisherPageLayout>;
9941
10252
  /**
9942
- * Delete an existing report page layout. Rejects built-in and locked layouts.
10253
+ * Delete an existing page layout. Rejects built-in and locked layouts.
9943
10254
  */
9944
- deleteReportPageLayout(ref: ObjRef): Promise<void>;
10255
+ deletePageLayout(ref: ObjRef): Promise<void>;
9945
10256
  /**
9946
- * Get the list of report templates available in the workspace.
10257
+ * Get the list of document templates available in the workspace.
9947
10258
  */
9948
- getReportTemplates(): Promise<IReportTemplate[]>;
10259
+ getDocumentTemplates(): Promise<IPublisherDocumentTemplate[]>;
9949
10260
  /**
9950
- * Get a single report template by its reference.
10261
+ * Get a single document template by its reference.
9951
10262
  */
9952
- getReportTemplate(ref: ObjRef): Promise<IReportTemplate>;
10263
+ getDocumentTemplate(ref: ObjRef): Promise<IPublisherDocumentTemplate>;
9953
10264
  /**
9954
- * Create a new report template.
10265
+ * Create a new document template.
9955
10266
  */
9956
- createReportTemplate(template: IReportTemplateDefinition): Promise<IReportTemplate>;
10267
+ createDocumentTemplate(template: IPublisherDocumentTemplateDefinition): Promise<IPublisherDocumentTemplate>;
9957
10268
  /**
9958
- * Update an existing report template. Rejects locked templates.
10269
+ * Update an existing document template. Rejects locked templates.
9959
10270
  */
9960
- updateReportTemplate(template: IReportTemplate): Promise<IReportTemplate>;
10271
+ updateDocumentTemplate(template: IPublisherDocumentTemplate): Promise<IPublisherDocumentTemplate>;
9961
10272
  /**
9962
- * Delete an existing report template.
10273
+ * Delete an existing document template.
9963
10274
  */
9964
- deleteReportTemplate(ref: ObjRef): Promise<void>;
10275
+ deleteDocumentTemplate(ref: ObjRef): Promise<void>;
9965
10276
  /**
9966
- * Get the list of reports available in the workspace.
10277
+ * Get the list of documents available in the workspace.
9967
10278
  */
9968
- getReports(): Promise<IReport[]>;
10279
+ getDocuments(): Promise<IPublisherDocument[]>;
9969
10280
  /**
9970
- * Get a single report by its reference.
10281
+ * Get a single document by its reference.
9971
10282
  */
9972
- getReport(ref: ObjRef): Promise<IReport>;
10283
+ getDocument(ref: ObjRef): Promise<IPublisherDocument>;
9973
10284
  /**
9974
- * Create a new report.
10285
+ * Create a new document.
9975
10286
  */
9976
- createReport(report: IReportDefinition): Promise<IReport>;
10287
+ createDocument(publisherDocument: IPublisherDocumentDefinition): Promise<IPublisherDocument>;
9977
10288
  /**
9978
- * Update an existing report. Rejects locked reports.
10289
+ * Update an existing document. Rejects locked documents.
9979
10290
  */
9980
- updateReport(report: IReport): Promise<IReport>;
10291
+ updateDocument(publisherDocument: IPublisherDocument): Promise<IPublisherDocument>;
9981
10292
  /**
9982
- * Delete an existing report.
10293
+ * Delete an existing document.
9983
10294
  */
9984
- deleteReport(ref: ObjRef): Promise<void>;
10295
+ deleteDocument(ref: ObjRef): Promise<void>;
9985
10296
  /**
9986
- * Export a report to PDF.
10297
+ * Export a document to PDF.
9987
10298
  *
9988
10299
  * @remarks
9989
- * The backend renders the report as it is saved, so unsaved changes are not part of the export.
10300
+ * The backend renders the document as it is saved, so unsaved changes are not part of the export.
9990
10301
  */
9991
- exportReportToPdf(ref: ObjRef, options?: IReportExportPdfOptions): Promise<IExportResult>;
10302
+ exportDocumentToPdf(ref: ObjRef, options?: IPublisherDocumentExportPdfOptions): Promise<IExportResult>;
9992
10303
  }
9993
10304
 
9994
10305
  export { IWorkspaceSettings }
@@ -10760,6 +11071,23 @@ export declare class LimitReached extends AnalyticalBackendError {
10760
11071
  constructor(message: string, cause?: Error);
10761
11072
  }
10762
11073
 
11074
+ /**
11075
+ * Locale setting covered by the localization overview.
11076
+ *
11077
+ * @alpha
11078
+ */
11079
+ export declare type LocalizationSettingType = "LOCALE" | "METADATA_LOCALE" | "DATA_LOCALE";
11080
+
11081
+ /**
11082
+ * Where a locale value comes from.
11083
+ *
11084
+ * @remarks
11085
+ * `PARENT` means the value is inherited from an ancestor workspace; see `originId`.
11086
+ *
11087
+ * @alpha
11088
+ */
11089
+ export declare type LocalizationUsageSource = "USER" | "WORKSPACE" | "PARENT" | "ORGANIZATION" | "ENVIRONMENT" | "DEFAULT";
11090
+
10763
11091
  /**
10764
11092
  * This exception MUST be thrown when the backend execution identifies that there is no data to
10765
11093
  * calculate.