@gooddata/api-client-tiger 11.61.0-alpha.1 → 11.61.0-alpha.3

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.
@@ -772,7 +772,7 @@ export interface AiComposeAnswerDetail {
772
772
  'suggestedActions'?: number | null;
773
773
  }
774
774
  export type AiComposeAnswerDetailCategoryEnum = 'composeAnswer';
775
- export type AiComposeAnswerDetailOutputEnum = 'text' | 'visualization' | 'dashboard' | 'keyDriverAnalysis' | 'whatIf' | 'searchResults' | 'alertProposal' | 'clarifyingQuestions';
775
+ export type AiComposeAnswerDetailOutputEnum = 'text' | 'visualization' | 'dashboard' | 'report' | 'keyDriverAnalysis' | 'whatIf' | 'searchResults' | 'alertProposal' | 'clarifyingQuestions';
776
776
  export interface AiCompoundMeasureValueFilter {
777
777
  'compoundMeasureValueFilter': AiCompoundMeasureValueFilterBody;
778
778
  }
@@ -2367,6 +2367,8 @@ export type AiMultipartContentPartsInner = ({
2367
2367
  } & AiDashboardPatchPart) | ({
2368
2368
  type: 'kda';
2369
2369
  } & AiKeyDriverAnalysisPart) | ({
2370
+ type: 'report';
2371
+ } & AiReportPart) | ({
2370
2372
  type: 'searchResults';
2371
2373
  } & AiSearchResults) | ({
2372
2374
  type: 'text';
@@ -3253,6 +3255,36 @@ export declare const AiRenderAs: {
3253
3255
  readonly OUTLINE: 'outline';
3254
3256
  };
3255
3257
  export type AiRenderAs = typeof AiRenderAs[keyof typeof AiRenderAs];
3258
+ /**
3259
+ * PATCH /conversations/{conversationId}/reports/{reportRef} body.
3260
+ */
3261
+ export interface AiReportIdUpdateRequest {
3262
+ /**
3263
+ * Id of the report entity the client saved the draft as.
3264
+ */
3265
+ 'id': string;
3266
+ }
3267
+ /**
3268
+ * A report draft the assistant composed, resolved from conversation state. Like a dashboard draft it is not persisted until the user saves it; ``report`` is null when the ref no longer resolves, so the client can still show that a report was promised. Every refinement is a new version under a new ``report_ref``, so an earlier card keeps its version.
3269
+ */
3270
+ export interface AiReportPart {
3271
+ 'base_report_id'?: string | null;
3272
+ /**
3273
+ * Shape of `report`: the Analytics-as-Code report document, v1.
3274
+ */
3275
+ 'format'?: AiReportPartFormatEnum;
3276
+ 'page_count'?: number | null;
3277
+ 'report'?: object | null;
3278
+ 'refines_ref'?: string | null;
3279
+ 'report_ref'?: string | null;
3280
+ 'saved_report_id'?: string | null;
3281
+ /**
3282
+ * Type of multipart part.
3283
+ */
3284
+ 'type'?: AiReportPartTypeEnum;
3285
+ }
3286
+ export type AiReportPartFormatEnum = 'aac-v1';
3287
+ export type AiReportPartTypeEnum = 'report';
3256
3288
  export declare const AiRequestedReasoningEffort: {
3257
3289
  readonly LOW: 'LOW';
3258
3290
  readonly MEDIUM: 'MEDIUM';
@@ -4217,6 +4249,18 @@ export interface AiUserContextObjectReferenceGroup {
4217
4249
  'context'?: AiUserContextObjectReference | null;
4218
4250
  'objects': Array<AiUserContextObjectReference>;
4219
4251
  }
4252
+ /**
4253
+ * The report open in the report editor, so refinements can target it without an id.
4254
+ */
4255
+ export interface AiUserContextReport {
4256
+ 'definition'?: object | null;
4257
+ /**
4258
+ * `report_ref` of the conversation draft open in the editor while it is not saved yet. A change the assistant makes to it is then a new version of that draft, not a new report. Optional.
4259
+ */
4260
+ 'draftRef'?: string | null;
4261
+ 'id'?: string | null;
4262
+ 'title'?: string | null;
4263
+ }
4220
4264
  export interface AiUserContextRichTextWidgetDescriptor {
4221
4265
  'content'?: string | null;
4222
4266
  'filters'?: Array<AiVisualizationFilter> | null;
@@ -4233,6 +4277,7 @@ export interface AiUserContextSwitcherVisualization {
4233
4277
  }
4234
4278
  export interface AiUserContextView {
4235
4279
  'dashboard'?: AiUserContextDashboard | null;
4280
+ 'report'?: AiUserContextReport | null;
4236
4281
  }
4237
4282
  export interface AiUserContextVisualizationSwitcherWidgetDescriptor {
4238
4283
  'activeVisualizationId': string;
@@ -5459,6 +5504,18 @@ export declare function ConversationsAiAxiosParamCreator_PatchConversationApiV1A
5459
5504
  * @throws {RequiredError}
5460
5505
  */
5461
5506
  export declare function ConversationsAiAxiosParamCreator_PatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(workspaceId: string, conversationId: string, dashboardId: string, aiDashboardIdUpdateRequest: AiDashboardIdUpdateRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
5507
+ /**
5508
+ * Records the report entity the user saved the conversation\'s report draft as.
5509
+ * @summary Link a saved report
5510
+ * @param {string} workspaceId
5511
+ * @param {string} conversationId
5512
+ * @param {string} reportRef
5513
+ * @param {AiReportIdUpdateRequest} aiReportIdUpdateRequest
5514
+ * @param {*} [options] Override http request option.
5515
+ * @param {Configuration} [configuration] Optional configuration.
5516
+ * @throws {RequiredError}
5517
+ */
5518
+ export declare function ConversationsAiAxiosParamCreator_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(workspaceId: string, conversationId: string, reportRef: string, aiReportIdUpdateRequest: AiReportIdUpdateRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
5462
5519
  /**
5463
5520
  * Attaches positive or negative feedback, with optional free-text, to one response.
5464
5521
  * @summary Rate a response
@@ -5625,6 +5682,17 @@ export declare function ConversationsAi_PatchConversationApiV1AiWorkspacesWorksp
5625
5682
  * @throws {RequiredError}
5626
5683
  */
5627
5684
  export declare function ConversationsAi_PatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<void>;
5685
+ /**
5686
+ * Records the report entity the user saved the conversation\'s report draft as.
5687
+ * @summary Link a saved report
5688
+ * @param {AxiosInstance} axios Axios instance.
5689
+ * @param {string} basePath Base path.
5690
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
5691
+ * @param {*} [options] Override http request option.
5692
+ * @param {Configuration} [configuration] Optional configuration.
5693
+ * @throws {RequiredError}
5694
+ */
5695
+ export declare function ConversationsAi_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<void>;
5628
5696
  /**
5629
5697
  * Attaches positive or negative feedback, with optional free-text, to one response.
5630
5698
  * @summary Rate a response
@@ -5780,6 +5848,15 @@ export interface ConversationsAiInterface {
5780
5848
  * @memberof ConversationsAiInterface
5781
5849
  */
5782
5850
  patchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
5851
+ /**
5852
+ * Records the report entity the user saved the conversation\'s report draft as.
5853
+ * @summary Link a saved report
5854
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
5855
+ * @param {*} [options] Override http request option.
5856
+ * @throws {RequiredError}
5857
+ * @memberof ConversationsAiInterface
5858
+ */
5859
+ patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
5783
5860
  /**
5784
5861
  * Attaches positive or negative feedback, with optional free-text, to one response.
5785
5862
  * @summary Rate a response
@@ -6032,6 +6109,37 @@ export interface ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatCo
6032
6109
  */
6033
6110
  readonly aiDashboardIdUpdateRequest: AiDashboardIdUpdateRequest;
6034
6111
  }
6112
+ /**
6113
+ * Request parameters for patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch operation in ConversationsAi.
6114
+ * @export
6115
+ * @interface ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest
6116
+ */
6117
+ export interface ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest {
6118
+ /**
6119
+ *
6120
+ * @type {string}
6121
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6122
+ */
6123
+ readonly workspaceId: string;
6124
+ /**
6125
+ *
6126
+ * @type {string}
6127
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6128
+ */
6129
+ readonly conversationId: string;
6130
+ /**
6131
+ *
6132
+ * @type {string}
6133
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6134
+ */
6135
+ readonly reportRef: string;
6136
+ /**
6137
+ *
6138
+ * @type {AiReportIdUpdateRequest}
6139
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6140
+ */
6141
+ readonly aiReportIdUpdateRequest: AiReportIdUpdateRequest;
6142
+ }
6035
6143
  /**
6036
6144
  * Request parameters for patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch operation in ConversationsAi.
6037
6145
  * @export
@@ -6292,6 +6400,15 @@ export declare class ConversationsAi extends BaseAPI implements ConversationsAiI
6292
6400
  * @memberof ConversationsAi
6293
6401
  */
6294
6402
  patchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
6403
+ /**
6404
+ * Records the report entity the user saved the conversation\'s report draft as.
6405
+ * @summary Link a saved report
6406
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
6407
+ * @param {*} [options] Override http request option.
6408
+ * @throws {RequiredError}
6409
+ * @memberof ConversationsAi
6410
+ */
6411
+ patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
6295
6412
  /**
6296
6413
  * Attaches positive or negative feedback, with optional free-text, to one response.
6297
6414
  * @summary Rate a response