@gooddata/api-client-tiger 11.61.0-alpha.2 → 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';
@@ -4222,6 +4254,10 @@ export interface AiUserContextObjectReferenceGroup {
4222
4254
  */
4223
4255
  export interface AiUserContextReport {
4224
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;
4225
4261
  'id'?: string | null;
4226
4262
  'title'?: string | null;
4227
4263
  }
@@ -5468,6 +5504,18 @@ export declare function ConversationsAiAxiosParamCreator_PatchConversationApiV1A
5468
5504
  * @throws {RequiredError}
5469
5505
  */
5470
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>;
5471
5519
  /**
5472
5520
  * Attaches positive or negative feedback, with optional free-text, to one response.
5473
5521
  * @summary Rate a response
@@ -5634,6 +5682,17 @@ export declare function ConversationsAi_PatchConversationApiV1AiWorkspacesWorksp
5634
5682
  * @throws {RequiredError}
5635
5683
  */
5636
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>;
5637
5696
  /**
5638
5697
  * Attaches positive or negative feedback, with optional free-text, to one response.
5639
5698
  * @summary Rate a response
@@ -5789,6 +5848,15 @@ export interface ConversationsAiInterface {
5789
5848
  * @memberof ConversationsAiInterface
5790
5849
  */
5791
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>;
5792
5860
  /**
5793
5861
  * Attaches positive or negative feedback, with optional free-text, to one response.
5794
5862
  * @summary Rate a response
@@ -6041,6 +6109,37 @@ export interface ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatCo
6041
6109
  */
6042
6110
  readonly aiDashboardIdUpdateRequest: AiDashboardIdUpdateRequest;
6043
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
+ }
6044
6143
  /**
6045
6144
  * Request parameters for patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch operation in ConversationsAi.
6046
6145
  * @export
@@ -6301,6 +6400,15 @@ export declare class ConversationsAi extends BaseAPI implements ConversationsAiI
6301
6400
  * @memberof ConversationsAi
6302
6401
  */
6303
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>;
6304
6412
  /**
6305
6413
  * Attaches positive or negative feedback, with optional free-text, to one response.
6306
6414
  * @summary Rate a response