@gooddata/api-client-tiger 11.61.0-alpha.2 → 11.61.0-alpha.4

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,40 @@ 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
+ /**
3280
+ * True when this version was written from the report open in the editor (`view.report`). A client still showing that report, unchanged since the message was sent, can apply it there.
3281
+ */
3282
+ 'reworks_open_report'?: boolean;
3283
+ 'report_ref'?: string | null;
3284
+ 'saved_report_id'?: string | null;
3285
+ /**
3286
+ * Type of multipart part.
3287
+ */
3288
+ 'type'?: AiReportPartTypeEnum;
3289
+ }
3290
+ export type AiReportPartFormatEnum = 'aac-v1';
3291
+ export type AiReportPartTypeEnum = 'report';
3256
3292
  export declare const AiRequestedReasoningEffort: {
3257
3293
  readonly LOW: 'LOW';
3258
3294
  readonly MEDIUM: 'MEDIUM';
@@ -4222,6 +4258,10 @@ export interface AiUserContextObjectReferenceGroup {
4222
4258
  */
4223
4259
  export interface AiUserContextReport {
4224
4260
  'definition'?: object | null;
4261
+ /**
4262
+ * `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.
4263
+ */
4264
+ 'draftRef'?: string | null;
4225
4265
  'id'?: string | null;
4226
4266
  'title'?: string | null;
4227
4267
  }
@@ -5468,6 +5508,18 @@ export declare function ConversationsAiAxiosParamCreator_PatchConversationApiV1A
5468
5508
  * @throws {RequiredError}
5469
5509
  */
5470
5510
  export declare function ConversationsAiAxiosParamCreator_PatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(workspaceId: string, conversationId: string, dashboardId: string, aiDashboardIdUpdateRequest: AiDashboardIdUpdateRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
5511
+ /**
5512
+ * Records the report entity the user saved the conversation\'s report draft as.
5513
+ * @summary Link a saved report
5514
+ * @param {string} workspaceId
5515
+ * @param {string} conversationId
5516
+ * @param {string} reportRef
5517
+ * @param {AiReportIdUpdateRequest} aiReportIdUpdateRequest
5518
+ * @param {*} [options] Override http request option.
5519
+ * @param {Configuration} [configuration] Optional configuration.
5520
+ * @throws {RequiredError}
5521
+ */
5522
+ export declare function ConversationsAiAxiosParamCreator_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(workspaceId: string, conversationId: string, reportRef: string, aiReportIdUpdateRequest: AiReportIdUpdateRequest, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
5471
5523
  /**
5472
5524
  * Attaches positive or negative feedback, with optional free-text, to one response.
5473
5525
  * @summary Rate a response
@@ -5634,6 +5686,17 @@ export declare function ConversationsAi_PatchConversationApiV1AiWorkspacesWorksp
5634
5686
  * @throws {RequiredError}
5635
5687
  */
5636
5688
  export declare function ConversationsAi_PatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<void>;
5689
+ /**
5690
+ * Records the report entity the user saved the conversation\'s report draft as.
5691
+ * @summary Link a saved report
5692
+ * @param {AxiosInstance} axios Axios instance.
5693
+ * @param {string} basePath Base path.
5694
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
5695
+ * @param {*} [options] Override http request option.
5696
+ * @param {Configuration} [configuration] Optional configuration.
5697
+ * @throws {RequiredError}
5698
+ */
5699
+ export declare function ConversationsAi_PatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(axios: AxiosInstance, basePath: string, requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig, configuration?: Configuration): AxiosPromise<void>;
5637
5700
  /**
5638
5701
  * Attaches positive or negative feedback, with optional free-text, to one response.
5639
5702
  * @summary Rate a response
@@ -5789,6 +5852,15 @@ export interface ConversationsAiInterface {
5789
5852
  * @memberof ConversationsAiInterface
5790
5853
  */
5791
5854
  patchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
5855
+ /**
5856
+ * Records the report entity the user saved the conversation\'s report draft as.
5857
+ * @summary Link a saved report
5858
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
5859
+ * @param {*} [options] Override http request option.
5860
+ * @throws {RequiredError}
5861
+ * @memberof ConversationsAiInterface
5862
+ */
5863
+ patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
5792
5864
  /**
5793
5865
  * Attaches positive or negative feedback, with optional free-text, to one response.
5794
5866
  * @summary Rate a response
@@ -6041,6 +6113,37 @@ export interface ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatCo
6041
6113
  */
6042
6114
  readonly aiDashboardIdUpdateRequest: AiDashboardIdUpdateRequest;
6043
6115
  }
6116
+ /**
6117
+ * Request parameters for patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch operation in ConversationsAi.
6118
+ * @export
6119
+ * @interface ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest
6120
+ */
6121
+ export interface ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest {
6122
+ /**
6123
+ *
6124
+ * @type {string}
6125
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6126
+ */
6127
+ readonly workspaceId: string;
6128
+ /**
6129
+ *
6130
+ * @type {string}
6131
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6132
+ */
6133
+ readonly conversationId: string;
6134
+ /**
6135
+ *
6136
+ * @type {string}
6137
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6138
+ */
6139
+ readonly reportRef: string;
6140
+ /**
6141
+ *
6142
+ * @type {AiReportIdUpdateRequest}
6143
+ * @memberof ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch
6144
+ */
6145
+ readonly aiReportIdUpdateRequest: AiReportIdUpdateRequest;
6146
+ }
6044
6147
  /**
6045
6148
  * Request parameters for patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch operation in ConversationsAi.
6046
6149
  * @export
@@ -6301,6 +6404,15 @@ export declare class ConversationsAi extends BaseAPI implements ConversationsAiI
6301
6404
  * @memberof ConversationsAi
6302
6405
  */
6303
6406
  patchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatch(requestParameters: ConversationsAiPatchDashboardApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDashboardsDashboardIdPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
6407
+ /**
6408
+ * Records the report entity the user saved the conversation\'s report draft as.
6409
+ * @summary Link a saved report
6410
+ * @param {ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest} requestParameters Request parameters.
6411
+ * @param {*} [options] Override http request option.
6412
+ * @throws {RequiredError}
6413
+ * @memberof ConversationsAi
6414
+ */
6415
+ patchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatch(requestParameters: ConversationsAiPatchReportApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdReportsReportRefPatchRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
6304
6416
  /**
6305
6417
  * Attaches positive or negative feedback, with optional free-text, to one response.
6306
6418
  * @summary Rate a response