@harnessio/react-sei-panorama-service-client 0.27.0 → 0.29.0

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 (182) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetAgentsCatalogQuery.d.ts +21 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetAgentsCatalogQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetCorrelationsQuery.d.ts +37 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetCorrelationsQuery.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery.d.ts +21 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetInvestmentCategoriesCatalogQuery.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLanguagesCatalogQuery.d.ts +21 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLanguagesCatalogQuery.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.d.ts +42 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetLeaderboardsQuery.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricBreakdownQuery.d.ts +37 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricBreakdownQuery.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricSeriesQuery.d.ts +37 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricSeriesQuery.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsCatalogQuery.d.ts +56 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsCatalogQuery.js +14 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsOverviewQuery.d.ts +35 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsOverviewQuery.js +14 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsQuery.d.ts +37 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsQuery.js +14 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsSummaryQuery.d.ts +36 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetMetricsSummaryQuery.js +14 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetModelsCatalogQuery.d.ts +21 -0
  24. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetModelsCatalogQuery.js +14 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetOptimizationByIdQuery.d.ts +36 -0
  26. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetOptimizationByIdQuery.js +14 -0
  27. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetRolesCatalogQuery.d.ts +21 -0
  28. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetRolesCatalogQuery.js +14 -0
  29. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetScorecardsQuery.d.ts +37 -0
  30. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetScorecardsQuery.js +14 -0
  31. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery.d.ts +21 -0
  32. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetToolCallCategoriesCatalogQuery.js +14 -0
  33. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery.d.ts +21 -0
  34. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkTypesCatalogQuery.js +14 -0
  35. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListDevelopersQuery.d.ts +38 -0
  36. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListDevelopersQuery.js +14 -0
  37. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListOptimizationsQuery.d.ts +43 -0
  38. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListOptimizationsQuery.js +14 -0
  39. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListReposQuery.d.ts +40 -0
  40. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListReposQuery.js +14 -0
  41. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListSessionsQuery.d.ts +40 -0
  42. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListSessionsQuery.js +14 -0
  43. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListTeamsQuery.d.ts +40 -0
  44. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerListTeamsQuery.js +14 -0
  45. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerCreateExportMutation.d.ts +21 -0
  46. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerCreateExportMutation.js +14 -0
  47. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerDownloadExportQuery.d.ts +15 -0
  48. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerDownloadExportQuery.js +14 -0
  49. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerGenerateExportSyncMutation.d.ts +20 -0
  50. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerGenerateExportSyncMutation.js +14 -0
  51. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerGetExportStatusQuery.d.ts +16 -0
  52. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerGetExportStatusQuery.js +14 -0
  53. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerListExportsQuery.d.ts +31 -0
  54. package/dist/sei-panorama-service/src/services/hooks/useBaExportControllerListExportsQuery.js +14 -0
  55. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  56. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerListExportsQuery.d.ts +1 -1
  57. package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetEncryptionKeyQuery.d.ts +13 -0
  58. package/dist/sei-panorama-service/src/services/hooks/useExternalDataControllerGetEncryptionKeyQuery.js +14 -0
  59. package/dist/sei-panorama-service/src/services/hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation.d.ts +1 -1
  60. package/dist/sei-panorama-service/src/services/hooks/useIntegrationDataStatusControllerGetIntegrationDataStatusMutation.js +1 -1
  61. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerCreateExportMutation.d.ts +21 -0
  62. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerCreateExportMutation.js +14 -0
  63. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerDownloadExportQuery.d.ts +17 -0
  64. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerDownloadExportQuery.js +14 -0
  65. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerGetExportStatusQuery.d.ts +16 -0
  66. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerGetExportStatusQuery.js +14 -0
  67. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerListExportsQuery.d.ts +27 -0
  68. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerListExportsQuery.js +14 -0
  69. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerSyncExportMutation.d.ts +20 -0
  70. package/dist/sei-panorama-service/src/services/hooks/useIssueTimeInStatusExportControllerSyncExportMutation.js +14 -0
  71. package/dist/sei-panorama-service/src/services/hooks/useProductivityInsightsExportControllerListExportsQuery.d.ts +1 -1
  72. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExportsQuery.d.ts +1 -1
  73. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerListExports_1Query.d.ts +1 -1
  74. package/dist/sei-panorama-service/src/services/index.d.ts +111 -1
  75. package/dist/sei-panorama-service/src/services/index.js +33 -0
  76. package/dist/sei-panorama-service/src/services/schemas/ActiveWorkStatusConfig.d.ts +4 -0
  77. package/dist/sei-panorama-service/src/services/schemas/ActiveWorkStatusConfig.js +1 -0
  78. package/dist/sei-panorama-service/src/services/schemas/ActivityLog.d.ts +2 -2
  79. package/dist/sei-panorama-service/src/services/schemas/AggregateMetric.d.ts +20 -0
  80. package/dist/sei-panorama-service/src/services/schemas/AggregateMetric.js +1 -0
  81. package/dist/sei-panorama-service/src/services/schemas/AiSummaryData.d.ts +25 -0
  82. package/dist/sei-panorama-service/src/services/schemas/AiSummaryData.js +1 -0
  83. package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiSummaryData.d.ts +23 -0
  84. package/dist/sei-panorama-service/src/services/schemas/ApiResponseAiSummaryData.js +1 -0
  85. package/dist/sei-panorama-service/src/services/schemas/ApiResponseCatalogTemplate.d.ts +23 -0
  86. package/dist/sei-panorama-service/src/services/schemas/ApiResponseCatalogTemplate.js +1 -0
  87. package/dist/sei-panorama-service/src/services/schemas/ApiResponseCorrelationData.d.ts +23 -0
  88. package/dist/sei-panorama-service/src/services/schemas/ApiResponseCorrelationData.js +1 -0
  89. package/dist/sei-panorama-service/src/services/schemas/ApiResponseEntityListData.d.ts +23 -0
  90. package/dist/sei-panorama-service/src/services/schemas/ApiResponseEntityListData.js +1 -0
  91. package/dist/sei-panorama-service/src/services/schemas/ApiResponseEntityListTemplate.d.ts +23 -0
  92. package/dist/sei-panorama-service/src/services/schemas/ApiResponseEntityListTemplate.js +1 -0
  93. package/dist/sei-panorama-service/src/services/schemas/ApiResponseMetricAggregateTemplate.d.ts +23 -0
  94. package/dist/sei-panorama-service/src/services/schemas/ApiResponseMetricAggregateTemplate.js +1 -0
  95. package/dist/sei-panorama-service/src/services/schemas/ApiResponseMetricBreakdownData.d.ts +23 -0
  96. package/dist/sei-panorama-service/src/services/schemas/ApiResponseMetricBreakdownData.js +1 -0
  97. package/dist/sei-panorama-service/src/services/schemas/ApiResponseOptimizationItem.d.ts +23 -0
  98. package/dist/sei-panorama-service/src/services/schemas/ApiResponseOptimizationItem.js +1 -0
  99. package/dist/sei-panorama-service/src/services/schemas/ApiResponseOptimizationListData.d.ts +23 -0
  100. package/dist/sei-panorama-service/src/services/schemas/ApiResponseOptimizationListData.js +1 -0
  101. package/dist/sei-panorama-service/src/services/schemas/ApiResponseScorecardData.d.ts +23 -0
  102. package/dist/sei-panorama-service/src/services/schemas/ApiResponseScorecardData.js +1 -0
  103. package/dist/sei-panorama-service/src/services/schemas/ApiResponseTimeSeriesTemplate.d.ts +23 -0
  104. package/dist/sei-panorama-service/src/services/schemas/ApiResponseTimeSeriesTemplate.js +1 -0
  105. package/dist/sei-panorama-service/src/services/schemas/BaExportListResponseDto.d.ts +6 -0
  106. package/dist/sei-panorama-service/src/services/schemas/BaExportListResponseDto.js +1 -0
  107. package/dist/sei-panorama-service/src/services/schemas/BaExportRequestDto.d.ts +12 -0
  108. package/dist/sei-panorama-service/src/services/schemas/BaExportRequestDto.js +1 -0
  109. package/dist/sei-panorama-service/src/services/schemas/BaExportResponseDto.d.ts +18 -0
  110. package/dist/sei-panorama-service/src/services/schemas/BaExportResponseDto.js +1 -0
  111. package/dist/sei-panorama-service/src/services/schemas/Breakdown.d.ts +16 -0
  112. package/dist/sei-panorama-service/src/services/schemas/Breakdown.js +1 -0
  113. package/dist/sei-panorama-service/src/services/schemas/BreakdownItem.d.ts +27 -0
  114. package/dist/sei-panorama-service/src/services/schemas/BugPriorityConfig.d.ts +1 -0
  115. package/dist/sei-panorama-service/src/services/schemas/CatalogEntry.d.ts +24 -0
  116. package/dist/sei-panorama-service/src/services/schemas/CatalogEntry.js +4 -0
  117. package/dist/sei-panorama-service/src/services/schemas/CatalogTemplate.d.ts +15 -0
  118. package/dist/sei-panorama-service/src/services/schemas/CatalogTemplate.js +1 -0
  119. package/dist/sei-panorama-service/src/services/schemas/CompletedWorkStatusConfig.d.ts +4 -0
  120. package/dist/sei-panorama-service/src/services/schemas/CompletedWorkStatusConfig.js +1 -0
  121. package/dist/sei-panorama-service/src/services/schemas/CorrelationData.d.ts +12 -0
  122. package/dist/sei-panorama-service/src/services/schemas/CorrelationData.js +1 -0
  123. package/dist/sei-panorama-service/src/services/schemas/CorrelationPoint.d.ts +22 -0
  124. package/dist/sei-panorama-service/src/services/schemas/CorrelationPoint.js +4 -0
  125. package/dist/sei-panorama-service/src/services/schemas/EncryptionKeyResponse.d.ts +15 -0
  126. package/dist/sei-panorama-service/src/services/schemas/EncryptionKeyResponse.js +4 -0
  127. package/dist/sei-panorama-service/src/services/schemas/EntityDto.d.ts +3 -1
  128. package/dist/sei-panorama-service/src/services/schemas/EntityListData.d.ts +30 -0
  129. package/dist/sei-panorama-service/src/services/schemas/EntityListData.js +4 -0
  130. package/dist/sei-panorama-service/src/services/schemas/EntityListTemplate.d.ts +20 -0
  131. package/dist/sei-panorama-service/src/services/schemas/EntityListTemplate.js +1 -0
  132. package/dist/sei-panorama-service/src/services/schemas/EntityRequestDto.d.ts +3 -1
  133. package/dist/sei-panorama-service/src/services/schemas/ExportListResult.d.ts +8 -0
  134. package/dist/sei-panorama-service/src/services/schemas/ExportListResult.js +1 -0
  135. package/dist/sei-panorama-service/src/services/schemas/ExportScope.d.ts +0 -33
  136. package/dist/sei-panorama-service/src/services/schemas/ExportScope.js +3 -0
  137. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  138. package/dist/sei-panorama-service/src/services/schemas/IssueTimeInStatusExportRequestDto.d.ts +12 -0
  139. package/dist/sei-panorama-service/src/services/schemas/IssueTimeInStatusExportRequestDto.js +1 -0
  140. package/dist/sei-panorama-service/src/services/schemas/IssueTimeInStatusExportResponseDto.d.ts +13 -0
  141. package/dist/sei-panorama-service/src/services/schemas/IssueTimeInStatusExportResponseDto.js +1 -0
  142. package/dist/sei-panorama-service/src/services/schemas/MetricAggregateTemplate.d.ts +15 -0
  143. package/dist/sei-panorama-service/src/services/schemas/MetricAggregateTemplate.js +1 -0
  144. package/dist/sei-panorama-service/src/services/schemas/MetricBreakdownData.d.ts +25 -0
  145. package/dist/sei-panorama-service/src/services/schemas/MetricBreakdownData.js +1 -0
  146. package/dist/sei-panorama-service/src/services/schemas/MetricValue.d.ts +28 -0
  147. package/dist/sei-panorama-service/src/services/schemas/MetricValue.js +4 -0
  148. package/dist/sei-panorama-service/src/services/schemas/MetricsExport.d.ts +91 -0
  149. package/dist/sei-panorama-service/src/services/schemas/MetricsExport.js +4 -0
  150. package/dist/sei-panorama-service/src/services/schemas/NewFeaturesConfig.d.ts +1 -0
  151. package/dist/sei-panorama-service/src/services/schemas/OptimizationItem.d.ts +37 -0
  152. package/dist/sei-panorama-service/src/services/schemas/OptimizationItem.js +4 -0
  153. package/dist/sei-panorama-service/src/services/schemas/OptimizationListData.d.ts +10 -0
  154. package/dist/sei-panorama-service/src/services/schemas/OptimizationListData.js +1 -0
  155. package/dist/sei-panorama-service/src/services/schemas/RankedEntity.d.ts +39 -0
  156. package/dist/sei-panorama-service/src/services/schemas/RankedEntity.js +1 -0
  157. package/dist/sei-panorama-service/src/services/schemas/ScorecardData.d.ts +15 -0
  158. package/dist/sei-panorama-service/src/services/schemas/ScorecardData.js +1 -0
  159. package/dist/sei-panorama-service/src/services/schemas/ScorecardItem.d.ts +28 -0
  160. package/dist/sei-panorama-service/src/services/schemas/ScorecardItem.js +4 -0
  161. package/dist/sei-panorama-service/src/services/schemas/SimpleFilter.d.ts +1 -1
  162. package/dist/sei-panorama-service/src/services/schemas/SimpleMetric.d.ts +21 -0
  163. package/dist/sei-panorama-service/src/services/schemas/SimpleMetric.js +4 -0
  164. package/dist/sei-panorama-service/src/services/schemas/SummaryHighlight.d.ts +15 -0
  165. package/dist/sei-panorama-service/src/services/schemas/SummaryHighlight.js +4 -0
  166. package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +2 -0
  167. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  168. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultDto.d.ts +1 -0
  169. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultViewDto.d.ts +1 -0
  170. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsMergedViewDto.d.ts +1 -0
  171. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOverrideDto.d.ts +1 -0
  172. package/dist/sei-panorama-service/src/services/schemas/TimeRangeData.d.ts +15 -0
  173. package/dist/sei-panorama-service/src/services/schemas/TimeRangeData.js +4 -0
  174. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesPeriod.d.ts +15 -0
  175. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesPeriod.js +4 -0
  176. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesPoint.d.ts +20 -0
  177. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesPoint.js +1 -0
  178. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesTemplate.d.ts +15 -0
  179. package/dist/sei-panorama-service/src/services/schemas/TimeSeriesTemplate.js +1 -0
  180. package/package.json +1 -1
  181. package/dist/sei-panorama-service/src/services/schemas/DeveloperAttribute.d.ts +0 -15
  182. /package/dist/sei-panorama-service/src/services/schemas/{DeveloperAttribute.js → BreakdownItem.js} +0 -0
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseOptimizationItem } from '../schemas/ApiResponseOptimizationItem';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetOptimizationByIdQueryPathParams {
6
+ category: string;
7
+ id: string;
8
+ }
9
+ export interface AiEngineeringControllerGetOptimizationByIdQueryQueryParams {
10
+ account: string;
11
+ schema: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ routingId?: string;
15
+ /**
16
+ * @format int32
17
+ */
18
+ orgTreeId?: number;
19
+ teamRefId?: string;
20
+ start_date?: string;
21
+ end_date?: string;
22
+ granularity?: string;
23
+ assistant?: string;
24
+ language?: string;
25
+ role?: string;
26
+ }
27
+ export type AiEngineeringControllerGetOptimizationByIdOkResponse = ResponseWithPagination<ApiResponseOptimizationItem>;
28
+ export type AiEngineeringControllerGetOptimizationByIdErrorResponse = unknown;
29
+ export interface AiEngineeringControllerGetOptimizationByIdProps extends AiEngineeringControllerGetOptimizationByIdQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetOptimizationByIdQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: AiEngineeringControllerGetOptimizationByIdQueryQueryParams;
31
+ }
32
+ export declare function aiEngineeringControllerGetOptimizationById(props: AiEngineeringControllerGetOptimizationByIdProps): Promise<AiEngineeringControllerGetOptimizationByIdOkResponse>;
33
+ /**
34
+ * Get optimization opportunity by id
35
+ */
36
+ export declare function useAiEngineeringControllerGetOptimizationByIdQuery(props: AiEngineeringControllerGetOptimizationByIdProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetOptimizationByIdOkResponse, AiEngineeringControllerGetOptimizationByIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetOptimizationByIdOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerGetOptimizationById(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/optimizations/${props.id}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get optimization opportunity by id
11
+ */
12
+ export function useAiEngineeringControllerGetOptimizationByIdQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetOptimizationById', props.category, props.id, props.queryParams], ({ signal }) => aiEngineeringControllerGetOptimizationById(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseCatalogTemplate } from '../schemas/ApiResponseCatalogTemplate';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetRolesCatalogQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ }
12
+ export type AiEngineeringControllerGetRolesCatalogOkResponse = ResponseWithPagination<ApiResponseCatalogTemplate>;
13
+ export type AiEngineeringControllerGetRolesCatalogErrorResponse = unknown;
14
+ export interface AiEngineeringControllerGetRolesCatalogProps extends Omit<FetcherOptions<AiEngineeringControllerGetRolesCatalogQueryQueryParams, unknown>, 'url'> {
15
+ queryParams: AiEngineeringControllerGetRolesCatalogQueryQueryParams;
16
+ }
17
+ export declare function aiEngineeringControllerGetRolesCatalog(props: AiEngineeringControllerGetRolesCatalogProps): Promise<AiEngineeringControllerGetRolesCatalogOkResponse>;
18
+ /**
19
+ * Get role catalog
20
+ */
21
+ export declare function useAiEngineeringControllerGetRolesCatalogQuery(props: AiEngineeringControllerGetRolesCatalogProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetRolesCatalogOkResponse, AiEngineeringControllerGetRolesCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetRolesCatalogOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerGetRolesCatalog(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/roles`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get role catalog
11
+ */
12
+ export function useAiEngineeringControllerGetRolesCatalogQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetRolesCatalog', props.queryParams], ({ signal }) => aiEngineeringControllerGetRolesCatalog(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,37 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseScorecardData } from '../schemas/ApiResponseScorecardData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetScorecardsQueryPathParams {
6
+ category: string;
7
+ }
8
+ export interface AiEngineeringControllerGetScorecardsQueryQueryParams {
9
+ account: string;
10
+ schema: string;
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ routingId?: string;
14
+ /**
15
+ * @format int32
16
+ */
17
+ orgTreeId?: number;
18
+ teamRefId?: string;
19
+ start_date?: string;
20
+ end_date?: string;
21
+ granularity?: string;
22
+ assistant?: string;
23
+ language?: string;
24
+ role?: string;
25
+ type?: string;
26
+ sort?: string;
27
+ }
28
+ export type AiEngineeringControllerGetScorecardsOkResponse = ResponseWithPagination<ApiResponseScorecardData>;
29
+ export type AiEngineeringControllerGetScorecardsErrorResponse = unknown;
30
+ export interface AiEngineeringControllerGetScorecardsProps extends AiEngineeringControllerGetScorecardsQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetScorecardsQueryQueryParams, unknown>, 'url'> {
31
+ queryParams: AiEngineeringControllerGetScorecardsQueryQueryParams;
32
+ }
33
+ export declare function aiEngineeringControllerGetScorecards(props: AiEngineeringControllerGetScorecardsProps): Promise<AiEngineeringControllerGetScorecardsOkResponse>;
34
+ /**
35
+ * Get scorecards for an insight category
36
+ */
37
+ export declare function useAiEngineeringControllerGetScorecardsQuery(props: AiEngineeringControllerGetScorecardsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetScorecardsOkResponse, AiEngineeringControllerGetScorecardsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetScorecardsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerGetScorecards(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/scorecards`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get scorecards for an insight category
11
+ */
12
+ export function useAiEngineeringControllerGetScorecardsQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetScorecards', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerGetScorecards(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseCatalogTemplate } from '../schemas/ApiResponseCatalogTemplate';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetToolCallCategoriesCatalogQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ }
12
+ export type AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse = ResponseWithPagination<ApiResponseCatalogTemplate>;
13
+ export type AiEngineeringControllerGetToolCallCategoriesCatalogErrorResponse = unknown;
14
+ export interface AiEngineeringControllerGetToolCallCategoriesCatalogProps extends Omit<FetcherOptions<AiEngineeringControllerGetToolCallCategoriesCatalogQueryQueryParams, unknown>, 'url'> {
15
+ queryParams: AiEngineeringControllerGetToolCallCategoriesCatalogQueryQueryParams;
16
+ }
17
+ export declare function aiEngineeringControllerGetToolCallCategoriesCatalog(props: AiEngineeringControllerGetToolCallCategoriesCatalogProps): Promise<AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse>;
18
+ /**
19
+ * Get tool call category catalog
20
+ */
21
+ export declare function useAiEngineeringControllerGetToolCallCategoriesCatalogQuery(props: AiEngineeringControllerGetToolCallCategoriesCatalogProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse, AiEngineeringControllerGetToolCallCategoriesCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetToolCallCategoriesCatalogOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerGetToolCallCategoriesCatalog(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/tool-call-categories`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get tool call category catalog
11
+ */
12
+ export function useAiEngineeringControllerGetToolCallCategoriesCatalogQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetToolCallCategoriesCatalog', props.queryParams], ({ signal }) => aiEngineeringControllerGetToolCallCategoriesCatalog(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseCatalogTemplate } from '../schemas/ApiResponseCatalogTemplate';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerGetWorkTypesCatalogQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ }
12
+ export type AiEngineeringControllerGetWorkTypesCatalogOkResponse = ResponseWithPagination<ApiResponseCatalogTemplate>;
13
+ export type AiEngineeringControllerGetWorkTypesCatalogErrorResponse = unknown;
14
+ export interface AiEngineeringControllerGetWorkTypesCatalogProps extends Omit<FetcherOptions<AiEngineeringControllerGetWorkTypesCatalogQueryQueryParams, unknown>, 'url'> {
15
+ queryParams: AiEngineeringControllerGetWorkTypesCatalogQueryQueryParams;
16
+ }
17
+ export declare function aiEngineeringControllerGetWorkTypesCatalog(props: AiEngineeringControllerGetWorkTypesCatalogProps): Promise<AiEngineeringControllerGetWorkTypesCatalogOkResponse>;
18
+ /**
19
+ * Get work type catalog
20
+ */
21
+ export declare function useAiEngineeringControllerGetWorkTypesCatalogQuery(props: AiEngineeringControllerGetWorkTypesCatalogProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetWorkTypesCatalogOkResponse, AiEngineeringControllerGetWorkTypesCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetWorkTypesCatalogOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerGetWorkTypesCatalog(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/work-types`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get work type catalog
11
+ */
12
+ export function useAiEngineeringControllerGetWorkTypesCatalogQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerGetWorkTypesCatalog', props.queryParams], ({ signal }) => aiEngineeringControllerGetWorkTypesCatalog(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,38 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseEntityListData } from '../schemas/ApiResponseEntityListData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerListDevelopersQueryQueryParams {
6
+ orgIdentifier?: string;
7
+ projectIdentifier?: string;
8
+ routingId?: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ orgTreeId?: number;
13
+ teamRefId?: string;
14
+ start_date?: string;
15
+ end_date?: string;
16
+ granularity?: string;
17
+ assistant?: string;
18
+ language?: string;
19
+ role?: string;
20
+ metrics?: string;
21
+ select?: string;
22
+ sort?: string;
23
+ cursor?: string;
24
+ /**
25
+ * @format int32
26
+ */
27
+ limit?: number;
28
+ }
29
+ export type AiEngineeringControllerListDevelopersOkResponse = ResponseWithPagination<ApiResponseEntityListData>;
30
+ export type AiEngineeringControllerListDevelopersErrorResponse = unknown;
31
+ export interface AiEngineeringControllerListDevelopersProps extends Omit<FetcherOptions<AiEngineeringControllerListDevelopersQueryQueryParams, unknown>, 'url'> {
32
+ queryParams: AiEngineeringControllerListDevelopersQueryQueryParams;
33
+ }
34
+ export declare function aiEngineeringControllerListDevelopers(props: AiEngineeringControllerListDevelopersProps): Promise<AiEngineeringControllerListDevelopersOkResponse>;
35
+ /**
36
+ * List developers
37
+ */
38
+ export declare function useAiEngineeringControllerListDevelopersQuery(props: AiEngineeringControllerListDevelopersProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListDevelopersOkResponse, AiEngineeringControllerListDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListDevelopersOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerListDevelopers(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/developers`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List developers
11
+ */
12
+ export function useAiEngineeringControllerListDevelopersQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerListDevelopers', props.queryParams], ({ signal }) => aiEngineeringControllerListDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,43 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseOptimizationListData } from '../schemas/ApiResponseOptimizationListData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerListOptimizationsQueryPathParams {
6
+ category: string;
7
+ }
8
+ export interface AiEngineeringControllerListOptimizationsQueryQueryParams {
9
+ account: string;
10
+ schema: string;
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ routingId?: string;
14
+ /**
15
+ * @format int32
16
+ */
17
+ orgTreeId?: number;
18
+ teamRefId?: string;
19
+ start_date?: string;
20
+ end_date?: string;
21
+ granularity?: string;
22
+ assistant?: string;
23
+ language?: string;
24
+ role?: string;
25
+ category?: string;
26
+ status?: string;
27
+ sort?: string;
28
+ cursor?: string;
29
+ /**
30
+ * @format int32
31
+ */
32
+ limit?: number;
33
+ }
34
+ export type AiEngineeringControllerListOptimizationsOkResponse = ResponseWithPagination<ApiResponseOptimizationListData>;
35
+ export type AiEngineeringControllerListOptimizationsErrorResponse = unknown;
36
+ export interface AiEngineeringControllerListOptimizationsProps extends AiEngineeringControllerListOptimizationsQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerListOptimizationsQueryQueryParams, unknown>, 'url'> {
37
+ queryParams: AiEngineeringControllerListOptimizationsQueryQueryParams;
38
+ }
39
+ export declare function aiEngineeringControllerListOptimizations(props: AiEngineeringControllerListOptimizationsProps): Promise<AiEngineeringControllerListOptimizationsOkResponse>;
40
+ /**
41
+ * List optimization opportunities for an insight category
42
+ */
43
+ export declare function useAiEngineeringControllerListOptimizationsQuery(props: AiEngineeringControllerListOptimizationsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListOptimizationsOkResponse, AiEngineeringControllerListOptimizationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListOptimizationsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerListOptimizations(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/${props.category}/metrics/optimizations`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List optimization opportunities for an insight category
11
+ */
12
+ export function useAiEngineeringControllerListOptimizationsQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerListOptimizations', props.category, props.queryParams], ({ signal }) => aiEngineeringControllerListOptimizations(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseEntityListData } from '../schemas/ApiResponseEntityListData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerListReposQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ /**
12
+ * @format int32
13
+ */
14
+ orgTreeId?: number;
15
+ teamRefId?: string;
16
+ start_date?: string;
17
+ end_date?: string;
18
+ granularity?: string;
19
+ assistant?: string;
20
+ language?: string;
21
+ role?: string;
22
+ metrics?: string;
23
+ select?: string;
24
+ sort?: string;
25
+ cursor?: string;
26
+ /**
27
+ * @format int32
28
+ */
29
+ limit?: number;
30
+ }
31
+ export type AiEngineeringControllerListReposOkResponse = ResponseWithPagination<ApiResponseEntityListData>;
32
+ export type AiEngineeringControllerListReposErrorResponse = unknown;
33
+ export interface AiEngineeringControllerListReposProps extends Omit<FetcherOptions<AiEngineeringControllerListReposQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: AiEngineeringControllerListReposQueryQueryParams;
35
+ }
36
+ export declare function aiEngineeringControllerListRepos(props: AiEngineeringControllerListReposProps): Promise<AiEngineeringControllerListReposOkResponse>;
37
+ /**
38
+ * List repositories
39
+ */
40
+ export declare function useAiEngineeringControllerListReposQuery(props: AiEngineeringControllerListReposProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListReposOkResponse, AiEngineeringControllerListReposErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListReposOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerListRepos(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/repos`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List repositories
11
+ */
12
+ export function useAiEngineeringControllerListReposQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerListRepos', props.queryParams], ({ signal }) => aiEngineeringControllerListRepos(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseEntityListData } from '../schemas/ApiResponseEntityListData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerListSessionsQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ /**
12
+ * @format int32
13
+ */
14
+ orgTreeId?: number;
15
+ teamRefId?: string;
16
+ start_date?: string;
17
+ end_date?: string;
18
+ granularity?: string;
19
+ assistant?: string;
20
+ language?: string;
21
+ role?: string;
22
+ metrics?: string;
23
+ select?: string;
24
+ sort?: string;
25
+ cursor?: string;
26
+ /**
27
+ * @format int32
28
+ */
29
+ limit?: number;
30
+ }
31
+ export type AiEngineeringControllerListSessionsOkResponse = ResponseWithPagination<ApiResponseEntityListData>;
32
+ export type AiEngineeringControllerListSessionsErrorResponse = unknown;
33
+ export interface AiEngineeringControllerListSessionsProps extends Omit<FetcherOptions<AiEngineeringControllerListSessionsQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: AiEngineeringControllerListSessionsQueryQueryParams;
35
+ }
36
+ export declare function aiEngineeringControllerListSessions(props: AiEngineeringControllerListSessionsProps): Promise<AiEngineeringControllerListSessionsOkResponse>;
37
+ /**
38
+ * List sessions
39
+ */
40
+ export declare function useAiEngineeringControllerListSessionsQuery(props: AiEngineeringControllerListSessionsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListSessionsOkResponse, AiEngineeringControllerListSessionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListSessionsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerListSessions(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/sessions`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List sessions
11
+ */
12
+ export function useAiEngineeringControllerListSessionsQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerListSessions', props.queryParams], ({ signal }) => aiEngineeringControllerListSessions(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ApiResponseEntityListData } from '../schemas/ApiResponseEntityListData';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface AiEngineeringControllerListTeamsQueryQueryParams {
6
+ account: string;
7
+ schema: string;
8
+ orgIdentifier?: string;
9
+ projectIdentifier?: string;
10
+ routingId?: string;
11
+ /**
12
+ * @format int32
13
+ */
14
+ orgTreeId?: number;
15
+ teamRefId?: string;
16
+ start_date?: string;
17
+ end_date?: string;
18
+ granularity?: string;
19
+ assistant?: string;
20
+ language?: string;
21
+ role?: string;
22
+ metrics?: string;
23
+ select?: string;
24
+ sort?: string;
25
+ cursor?: string;
26
+ /**
27
+ * @format int32
28
+ */
29
+ limit?: number;
30
+ }
31
+ export type AiEngineeringControllerListTeamsOkResponse = ResponseWithPagination<ApiResponseEntityListData>;
32
+ export type AiEngineeringControllerListTeamsErrorResponse = unknown;
33
+ export interface AiEngineeringControllerListTeamsProps extends Omit<FetcherOptions<AiEngineeringControllerListTeamsQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: AiEngineeringControllerListTeamsQueryQueryParams;
35
+ }
36
+ export declare function aiEngineeringControllerListTeams(props: AiEngineeringControllerListTeamsProps): Promise<AiEngineeringControllerListTeamsOkResponse>;
37
+ /**
38
+ * List teams
39
+ */
40
+ export declare function useAiEngineeringControllerListTeamsQuery(props: AiEngineeringControllerListTeamsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerListTeamsOkResponse, AiEngineeringControllerListTeamsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerListTeamsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiEngineeringControllerListTeams(props) {
7
+ return fetcher(Object.assign({ url: `/v2/ai-engineering/teams`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * List teams
11
+ */
12
+ export function useAiEngineeringControllerListTeamsQuery(props, options) {
13
+ return useQuery(['AiEngineeringControllerListTeams', props.queryParams], ({ signal }) => aiEngineeringControllerListTeams(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaExportResponseDto } from '../schemas/BaExportResponseDto';
3
+ import type { BaExportRequestDto } from '../schemas/BaExportRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface BaExportControllerCreateExportMutationQueryParams {
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type BaExportControllerCreateExportRequestBody = BaExportRequestDto;
11
+ export type BaExportControllerCreateExportOkResponse = ResponseWithPagination<BaExportResponseDto>;
12
+ export type BaExportControllerCreateExportErrorResponse = unknown;
13
+ export interface BaExportControllerCreateExportProps extends Omit<FetcherOptions<BaExportControllerCreateExportMutationQueryParams, BaExportControllerCreateExportRequestBody>, 'url'> {
14
+ queryParams: BaExportControllerCreateExportMutationQueryParams;
15
+ body: BaExportControllerCreateExportRequestBody;
16
+ }
17
+ export declare function baExportControllerCreateExport(props: BaExportControllerCreateExportProps): Promise<BaExportControllerCreateExportOkResponse>;
18
+ /**
19
+ * Creates a new async export job for BA metrics. Returns 202 for new exports, 200 for duplicates within 30 minutes.
20
+ */
21
+ export declare function useBaExportControllerCreateExportMutation(options?: Omit<UseMutationOptions<BaExportControllerCreateExportOkResponse, BaExportControllerCreateExportErrorResponse, BaExportControllerCreateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaExportControllerCreateExportOkResponse, unknown, BaExportControllerCreateExportProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function baExportControllerCreateExport(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/exports`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates a new async export job for BA metrics. Returns 202 for new exports, 200 for duplicates within 30 minutes.
11
+ */
12
+ export function useBaExportControllerCreateExportMutation(options) {
13
+ return useMutation((mutateProps) => baExportControllerCreateExport(mutateProps), options);
14
+ }
@@ -0,0 +1,15 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export interface BaExportControllerDownloadExportQueryPathParams {
5
+ exportId: string;
6
+ }
7
+ export type BaExportControllerDownloadExportOkResponse = ResponseWithPagination<string>;
8
+ export type BaExportControllerDownloadExportErrorResponse = unknown;
9
+ export interface BaExportControllerDownloadExportProps extends BaExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
10
+ }
11
+ export declare function baExportControllerDownloadExport(props: BaExportControllerDownloadExportProps): Promise<BaExportControllerDownloadExportOkResponse>;
12
+ /**
13
+ * Download BA export
14
+ */
15
+ export declare function useBaExportControllerDownloadExportQuery(props: BaExportControllerDownloadExportProps, options?: Omit<UseQueryOptions<BaExportControllerDownloadExportOkResponse, BaExportControllerDownloadExportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<BaExportControllerDownloadExportOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function baExportControllerDownloadExport(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/exports/${props.exportId}/download`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Download BA export
11
+ */
12
+ export function useBaExportControllerDownloadExportQuery(props, options) {
13
+ return useQuery(['BAExportControllerDownloadExport', props.exportId], ({ signal }) => baExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { BaExportRequestDto } from '../schemas/BaExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface BaExportControllerGenerateExportSyncMutationQueryParams {
6
+ projectIdentifier?: string;
7
+ orgIdentifier?: string;
8
+ }
9
+ export type BaExportControllerGenerateExportSyncRequestBody = BaExportRequestDto;
10
+ export type BaExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<string>;
11
+ export type BaExportControllerGenerateExportSyncErrorResponse = unknown;
12
+ export interface BaExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<BaExportControllerGenerateExportSyncMutationQueryParams, BaExportControllerGenerateExportSyncRequestBody>, 'url'> {
13
+ queryParams: BaExportControllerGenerateExportSyncMutationQueryParams;
14
+ body: BaExportControllerGenerateExportSyncRequestBody;
15
+ }
16
+ export declare function baExportControllerGenerateExportSync(props: BaExportControllerGenerateExportSyncProps): Promise<BaExportControllerGenerateExportSyncOkResponse>;
17
+ /**
18
+ * Directly generates and returns a BA metrics CSV without async processing. For debugging only.
19
+ */
20
+ export declare function useBaExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<BaExportControllerGenerateExportSyncOkResponse, BaExportControllerGenerateExportSyncErrorResponse, BaExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<BaExportControllerGenerateExportSyncOkResponse, unknown, BaExportControllerGenerateExportSyncProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function baExportControllerGenerateExportSync(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ba/exports/sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Directly generates and returns a BA metrics CSV without async processing. For debugging only.
11
+ */
12
+ export function useBaExportControllerGenerateExportSyncMutation(options) {
13
+ return useMutation((mutateProps) => baExportControllerGenerateExportSync(mutateProps), options);
14
+ }