@harnessio/react-sei-panorama-service-client 0.26.14 → 0.26.15

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 (141) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  2. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerCreateExportMutation.d.ts +28 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerCreateExportMutation.js +21 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerDownloadExportQuery.d.ts +15 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerDownloadExportQuery.js +14 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerGenerateExportSyncMutation.d.ts +26 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerGenerateExportSyncMutation.js +20 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerGetExportStatusQuery.d.ts +16 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerGetExportStatusQuery.js +14 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerListExportsQuery.d.ts +49 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyInsightsExportControllerListExportsQuery.js +14 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useIntegrationPropertiesControllerGetPropertiesQuery.d.ts +19 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useIntegrationPropertiesControllerGetPropertiesQuery.js +14 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useIntegrationPropertiesControllerGetValuesQuery.d.ts +24 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useIntegrationPropertiesControllerGetValuesQuery.js +14 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useInternalUdpControllerRegisterEntityTypeMutation.d.ts +18 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useInternalUdpControllerRegisterEntityTypeMutation.js +14 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsControllerGetCatalogQuery.d.ts +13 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsControllerGetCatalogQuery.js +14 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerCloneDefaultMutation.d.ts +24 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerCloneDefaultMutation.js +14 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerCreateDefaultMutation.d.ts +21 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerCreateDefaultMutation.js +14 -0
  24. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerDeleteDefaultMutation.d.ts +23 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerDeleteDefaultMutation.js +14 -0
  26. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerGetDefaultQuery.d.ts +24 -0
  27. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerGetDefaultQuery.js +14 -0
  28. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerListDefaultsQuery.d.ts +41 -0
  29. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerListDefaultsQuery.js +14 -0
  30. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerPatchDefaultMutation.d.ts +27 -0
  31. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerPatchDefaultMutation.js +14 -0
  32. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerReplaceDefaultMutation.d.ts +27 -0
  33. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsDefaultsControllerReplaceDefaultMutation.js +14 -0
  34. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOrgTreeControllerGetTeamSettingsDefaultsMappingQuery.d.ts +19 -0
  35. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOrgTreeControllerGetTeamSettingsDefaultsMappingQuery.js +14 -0
  36. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOrgTreeControllerPreviewDefaultQuery.d.ts +24 -0
  37. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOrgTreeControllerPreviewDefaultQuery.js +14 -0
  38. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerCreateOverrideMutation.d.ts +27 -0
  39. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerCreateOverrideMutation.js +14 -0
  40. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerDeleteOverrideMutation.d.ts +23 -0
  41. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerDeleteOverrideMutation.js +14 -0
  42. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerGetTeamSettingsQuery.d.ts +24 -0
  43. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerGetTeamSettingsQuery.js +14 -0
  44. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerPatchOverrideMutation.d.ts +27 -0
  45. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerPatchOverrideMutation.js +14 -0
  46. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerReplaceOverrideMutation.d.ts +27 -0
  47. package/dist/sei-panorama-service/src/services/hooks/useTeamSettingsOverridesControllerReplaceOverrideMutation.js +14 -0
  48. package/dist/sei-panorama-service/src/services/index.d.ts +87 -0
  49. package/dist/sei-panorama-service/src/services/index.js +23 -0
  50. package/dist/sei-panorama-service/src/services/schemas/BugPriorityConfig.d.ts +5 -0
  51. package/dist/sei-panorama-service/src/services/schemas/BugPriorityConfig.js +1 -0
  52. package/dist/sei-panorama-service/src/services/schemas/CatalogEntityDto.d.ts +17 -0
  53. package/dist/sei-panorama-service/src/services/schemas/CatalogEntityDto.js +1 -0
  54. package/dist/sei-panorama-service/src/services/schemas/CatalogPropertyDto.d.ts +4 -0
  55. package/dist/sei-panorama-service/src/services/schemas/CatalogPropertyDto.js +4 -0
  56. package/dist/sei-panorama-service/src/services/schemas/CatalogResponseDto.d.ts +4 -0
  57. package/dist/sei-panorama-service/src/services/schemas/CatalogResponseDto.js +1 -0
  58. package/dist/sei-panorama-service/src/services/schemas/ColumnDefinition.d.ts +16 -0
  59. package/dist/sei-panorama-service/src/services/schemas/CompositeFilterExpression.d.ts +5 -0
  60. package/dist/sei-panorama-service/src/services/schemas/CompositeFilterExpression.js +1 -0
  61. package/dist/sei-panorama-service/src/services/schemas/DefaultTemplateReference.d.ts +7 -0
  62. package/dist/sei-panorama-service/src/services/schemas/DefaultTemplateReference.js +4 -0
  63. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportListResponseDto.d.ts +6 -0
  64. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportListResponseDto.js +1 -0
  65. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportRequestDto.d.ts +21 -0
  66. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportRequestDto.js +1 -0
  67. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportResponseDto.d.ts +12 -0
  68. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportResponseDto.js +1 -0
  69. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportStatusResponseDto.d.ts +32 -0
  70. package/dist/sei-panorama-service/src/services/schemas/EfficiencyExportStatusResponseDto.js +1 -0
  71. package/dist/sei-panorama-service/src/services/schemas/EntityConfig.d.ts +3 -0
  72. package/dist/sei-panorama-service/src/services/schemas/EntityConfig.js +4 -0
  73. package/dist/sei-panorama-service/src/services/schemas/EntityDto.d.ts +17 -0
  74. package/dist/sei-panorama-service/src/services/schemas/EntityDto.js +1 -0
  75. package/dist/sei-panorama-service/src/services/schemas/EntityRequestDto.d.ts +13 -0
  76. package/dist/sei-panorama-service/src/services/schemas/EntityRequestDto.js +1 -0
  77. package/dist/sei-panorama-service/src/services/schemas/FeatureSizes.d.ts +6 -0
  78. package/dist/sei-panorama-service/src/services/schemas/FeatureSizes.js +1 -0
  79. package/dist/sei-panorama-service/src/services/schemas/FilterExpression.d.ts +3 -0
  80. package/dist/sei-panorama-service/src/services/schemas/FilterExpression.js +4 -0
  81. package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.d.ts +1 -1
  82. package/dist/sei-panorama-service/src/services/schemas/IntegrationCustomFieldDto.d.ts +5 -0
  83. package/dist/sei-panorama-service/src/services/schemas/IntegrationCustomFieldDto.js +4 -0
  84. package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.d.ts +2 -0
  85. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertiesResponseDto.d.ts +6 -0
  86. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertiesResponseDto.js +1 -0
  87. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertyDto.d.ts +5 -0
  88. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertyDto.js +4 -0
  89. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertyValuesResponseDto.d.ts +3 -0
  90. package/dist/sei-panorama-service/src/services/schemas/IntegrationPropertyValuesResponseDto.js +4 -0
  91. package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +1 -1
  92. package/dist/sei-panorama-service/src/services/schemas/InternalEntityRegistrationRequest.d.ts +8 -0
  93. package/dist/sei-panorama-service/src/services/schemas/InternalEntityRegistrationRequest.js +1 -0
  94. package/dist/sei-panorama-service/src/services/schemas/JobDetailDto.d.ts +20 -0
  95. package/dist/sei-panorama-service/src/services/schemas/JobDetailDto.js +4 -0
  96. package/dist/sei-panorama-service/src/services/schemas/MetricEntry.d.ts +5 -0
  97. package/dist/sei-panorama-service/src/services/schemas/MetricEntry.js +4 -0
  98. package/dist/sei-panorama-service/src/services/schemas/NewFeaturesConfig.d.ts +5 -0
  99. package/dist/sei-panorama-service/src/services/schemas/NewFeaturesConfig.js +1 -0
  100. package/dist/sei-panorama-service/src/services/schemas/Options.d.ts +3 -0
  101. package/dist/sei-panorama-service/src/services/schemas/OrgTreeDto.d.ts +7 -0
  102. package/dist/sei-panorama-service/src/services/schemas/OrgTreeDto.js +4 -0
  103. package/dist/sei-panorama-service/src/services/schemas/PriorityBuckets.d.ts +5 -0
  104. package/dist/sei-panorama-service/src/services/schemas/PriorityBuckets.js +4 -0
  105. package/dist/sei-panorama-service/src/services/schemas/RangeCondition.d.ts +18 -0
  106. package/dist/sei-panorama-service/src/services/schemas/RangeCondition.js +4 -0
  107. package/dist/sei-panorama-service/src/services/schemas/SimpleFilterExpression.d.ts +7 -0
  108. package/dist/sei-panorama-service/src/services/schemas/SimpleFilterExpression.js +1 -0
  109. package/dist/sei-panorama-service/src/services/schemas/TeamDeveloperDataDto.d.ts +1 -0
  110. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  111. package/dist/sei-panorama-service/src/services/schemas/TeamInsightConfigDto.d.ts +1 -1
  112. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultDto.d.ts +26 -0
  113. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultDto.js +1 -0
  114. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultListResponseDto.d.ts +16 -0
  115. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultListResponseDto.js +1 -0
  116. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultReferenceDto.d.ts +4 -0
  117. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultReferenceDto.js +4 -0
  118. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultRequestDto.d.ts +14 -0
  119. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultRequestDto.js +1 -0
  120. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultSummaryDto.d.ts +23 -0
  121. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultSummaryDto.js +1 -0
  122. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultViewDto.d.ts +15 -0
  123. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDefaultViewDto.js +1 -0
  124. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDeveloperSettingsDto.d.ts +5 -0
  125. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsDeveloperSettingsDto.js +1 -0
  126. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsIntegrations.d.ts +4 -0
  127. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsIntegrations.js +4 -0
  128. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsMergedViewDto.d.ts +8 -0
  129. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsMergedViewDto.js +1 -0
  130. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOrgTreeHierarchyDto.d.ts +6 -0
  131. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOrgTreeHierarchyDto.js +1 -0
  132. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOrgTreeHierarchyTeamDto.d.ts +14 -0
  133. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOrgTreeHierarchyTeamDto.js +4 -0
  134. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOverrideDto.d.ts +18 -0
  135. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOverrideDto.js +1 -0
  136. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOverrideRequestDto.d.ts +8 -0
  137. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsOverrideRequestDto.js +1 -0
  138. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsTeamResponseDto.d.ts +12 -0
  139. package/dist/sei-panorama-service/src/services/schemas/TeamSettingsTeamResponseDto.js +1 -0
  140. package/dist/sei-panorama-service/src/services/schemas/TeamSummary.d.ts +2 -0
  141. package/package.json +1 -1
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
9
9
  export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
10
- export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
10
+ export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse & ErrorResponse) | ErrorResponse;
11
11
  export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
12
12
  body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
13
13
  }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyExportResponseDto } from '../schemas/EfficiencyExportResponseDto';
3
+ import type { EfficiencyExportRequestDto } from '../schemas/EfficiencyExportRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface EfficiencyInsightsExportControllerCreateExportMutationQueryParams {
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type EfficiencyInsightsExportControllerCreateExportRequestBody = EfficiencyExportRequestDto;
11
+ export type EfficiencyInsightsExportControllerCreateExportOkResponse = ResponseWithPagination<EfficiencyExportResponseDto>;
12
+ export type EfficiencyInsightsExportControllerCreateExportErrorResponse = unknown;
13
+ export interface EfficiencyInsightsExportControllerCreateExportProps extends Omit<FetcherOptions<EfficiencyInsightsExportControllerCreateExportMutationQueryParams, EfficiencyInsightsExportControllerCreateExportRequestBody>, 'url'> {
14
+ queryParams: EfficiencyInsightsExportControllerCreateExportMutationQueryParams;
15
+ body: EfficiencyInsightsExportControllerCreateExportRequestBody;
16
+ }
17
+ export declare function efficiencyInsightsExportControllerCreateExport(props: EfficiencyInsightsExportControllerCreateExportProps): Promise<EfficiencyInsightsExportControllerCreateExportOkResponse>;
18
+ /**
19
+ * Creates a new export job for efficiency (DORA) metrics.
20
+ * If an identical export was requested recently (within 30 minutes),
21
+ * the existing export will be reused and returned with 200 OK status.
22
+ *
23
+ * Metric Selection (choose ONE):
24
+ * - metricGroups: ["lttc", "df", "mttr", "cfr", "summary"] (high-level groups)
25
+ * - metricColumns: ["LTTC_Mean_Days", "DF_Deployment_Count"] (granular)
26
+ *
27
+ */
28
+ export declare function useEfficiencyInsightsExportControllerCreateExportMutation(options?: Omit<UseMutationOptions<EfficiencyInsightsExportControllerCreateExportOkResponse, EfficiencyInsightsExportControllerCreateExportErrorResponse, EfficiencyInsightsExportControllerCreateExportProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyInsightsExportControllerCreateExportOkResponse, unknown, EfficiencyInsightsExportControllerCreateExportProps, unknown>;
@@ -0,0 +1,21 @@
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 efficiencyInsightsExportControllerCreateExport(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/exports`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates a new export job for efficiency (DORA) metrics.
11
+ * If an identical export was requested recently (within 30 minutes),
12
+ * the existing export will be reused and returned with 200 OK status.
13
+ *
14
+ * Metric Selection (choose ONE):
15
+ * - metricGroups: ["lttc", "df", "mttr", "cfr", "summary"] (high-level groups)
16
+ * - metricColumns: ["LTTC_Mean_Days", "DF_Deployment_Count"] (granular)
17
+ *
18
+ */
19
+ export function useEfficiencyInsightsExportControllerCreateExportMutation(options) {
20
+ return useMutation((mutateProps) => efficiencyInsightsExportControllerCreateExport(mutateProps), options);
21
+ }
@@ -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 EfficiencyInsightsExportControllerDownloadExportQueryPathParams {
5
+ exportId: string;
6
+ }
7
+ export type EfficiencyInsightsExportControllerDownloadExportOkResponse = ResponseWithPagination<unknown>;
8
+ export type EfficiencyInsightsExportControllerDownloadExportErrorResponse = unknown;
9
+ export interface EfficiencyInsightsExportControllerDownloadExportProps extends EfficiencyInsightsExportControllerDownloadExportQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
10
+ }
11
+ export declare function efficiencyInsightsExportControllerDownloadExport(props: EfficiencyInsightsExportControllerDownloadExportProps): Promise<EfficiencyInsightsExportControllerDownloadExportOkResponse>;
12
+ /**
13
+ * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
14
+ */
15
+ export declare function useEfficiencyInsightsExportControllerDownloadExportQuery(props: EfficiencyInsightsExportControllerDownloadExportProps, options?: Omit<UseQueryOptions<EfficiencyInsightsExportControllerDownloadExportOkResponse, EfficiencyInsightsExportControllerDownloadExportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyInsightsExportControllerDownloadExportOkResponse, 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 efficiencyInsightsExportControllerDownloadExport(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/exports/${props.exportId}/download`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Downloads the CSV file for a completed export. Returns 404 if export not found or not yet completed.
11
+ */
12
+ export function useEfficiencyInsightsExportControllerDownloadExportQuery(props, options) {
13
+ return useQuery(['EfficiencyInsightsExportControllerDownloadExport', props.exportId], ({ signal }) => efficiencyInsightsExportControllerDownloadExport(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyExportRequestDto } from '../schemas/EfficiencyExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface EfficiencyInsightsExportControllerGenerateExportSyncMutationQueryParams {
6
+ projectIdentifier?: string;
7
+ orgIdentifier?: string;
8
+ }
9
+ export type EfficiencyInsightsExportControllerGenerateExportSyncRequestBody = EfficiencyExportRequestDto;
10
+ export type EfficiencyInsightsExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<unknown>;
11
+ export type EfficiencyInsightsExportControllerGenerateExportSyncErrorResponse = unknown;
12
+ export interface EfficiencyInsightsExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<EfficiencyInsightsExportControllerGenerateExportSyncMutationQueryParams, EfficiencyInsightsExportControllerGenerateExportSyncRequestBody>, 'url'> {
13
+ queryParams: EfficiencyInsightsExportControllerGenerateExportSyncMutationQueryParams;
14
+ body: EfficiencyInsightsExportControllerGenerateExportSyncRequestBody;
15
+ }
16
+ export declare function efficiencyInsightsExportControllerGenerateExportSync(props: EfficiencyInsightsExportControllerGenerateExportSyncProps): Promise<EfficiencyInsightsExportControllerGenerateExportSyncOkResponse>;
17
+ /**
18
+ * Directly generates and returns an efficiency metrics CSV file without async processing.
19
+ * Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
+ *
21
+ * Metric Selection (choose ONE):
22
+ * - metricGroups: ["lttc", "df", "mttr", "cfr"] (high-level groups)
23
+ * - metricColumns: ["LTTC_Mean_Days", "DF_Deployment_Count"] (granular)
24
+ *
25
+ */
26
+ export declare function useEfficiencyInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<EfficiencyInsightsExportControllerGenerateExportSyncOkResponse, EfficiencyInsightsExportControllerGenerateExportSyncErrorResponse, EfficiencyInsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyInsightsExportControllerGenerateExportSyncOkResponse, unknown, EfficiencyInsightsExportControllerGenerateExportSyncProps, unknown>;
@@ -0,0 +1,20 @@
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 efficiencyInsightsExportControllerGenerateExportSync(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/exports/sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Directly generates and returns an efficiency metrics CSV file without async processing.
11
+ * Intended for testing purposes only. For production use, use the async POST /exports endpoint.
12
+ *
13
+ * Metric Selection (choose ONE):
14
+ * - metricGroups: ["lttc", "df", "mttr", "cfr"] (high-level groups)
15
+ * - metricColumns: ["LTTC_Mean_Days", "DF_Deployment_Count"] (granular)
16
+ *
17
+ */
18
+ export function useEfficiencyInsightsExportControllerGenerateExportSyncMutation(options) {
19
+ return useMutation((mutateProps) => efficiencyInsightsExportControllerGenerateExportSync(mutateProps), options);
20
+ }
@@ -0,0 +1,16 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyExportStatusResponseDto } from '../schemas/EfficiencyExportStatusResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface EfficiencyInsightsExportControllerGetExportStatusQueryPathParams {
6
+ exportId: string;
7
+ }
8
+ export type EfficiencyInsightsExportControllerGetExportStatusOkResponse = ResponseWithPagination<EfficiencyExportStatusResponseDto>;
9
+ export type EfficiencyInsightsExportControllerGetExportStatusErrorResponse = unknown;
10
+ export interface EfficiencyInsightsExportControllerGetExportStatusProps extends EfficiencyInsightsExportControllerGetExportStatusQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
11
+ }
12
+ export declare function efficiencyInsightsExportControllerGetExportStatus(props: EfficiencyInsightsExportControllerGetExportStatusProps): Promise<EfficiencyInsightsExportControllerGetExportStatusOkResponse>;
13
+ /**
14
+ * Retrieves the current status of an export job. If the export is completed, includes download information.
15
+ */
16
+ export declare function useEfficiencyInsightsExportControllerGetExportStatusQuery(props: EfficiencyInsightsExportControllerGetExportStatusProps, options?: Omit<UseQueryOptions<EfficiencyInsightsExportControllerGetExportStatusOkResponse, EfficiencyInsightsExportControllerGetExportStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyInsightsExportControllerGetExportStatusOkResponse, 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 efficiencyInsightsExportControllerGetExportStatus(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/exports/${props.exportId}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves the current status of an export job. If the export is completed, includes download information.
11
+ */
12
+ export function useEfficiencyInsightsExportControllerGetExportStatusQuery(props, options) {
13
+ return useQuery(['EfficiencyInsightsExportControllerGetExportStatus', props.exportId], ({ signal }) => efficiencyInsightsExportControllerGetExportStatus(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,49 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyExportListResponseDto } from '../schemas/EfficiencyExportListResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface EfficiencyInsightsExportControllerListExportsQueryQueryParams {
6
+ status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PROCESSING' | 'QUEUED';
7
+ /**
8
+ * @default "all"
9
+ */
10
+ scope?: string;
11
+ teamId?: string;
12
+ createdBy?: string;
13
+ /**
14
+ * @format date-time
15
+ */
16
+ dateFrom?: string;
17
+ /**
18
+ * @format date-time
19
+ */
20
+ dateTo?: string;
21
+ /**
22
+ * @format int32
23
+ * @default 50
24
+ */
25
+ limit?: number;
26
+ /**
27
+ * @format int32
28
+ * @default 0
29
+ */
30
+ page?: number;
31
+ /**
32
+ * @default "createdAt"
33
+ */
34
+ sortBy?: string;
35
+ /**
36
+ * @default "desc"
37
+ */
38
+ sortOrder?: string;
39
+ }
40
+ export type EfficiencyInsightsExportControllerListExportsOkResponse = ResponseWithPagination<EfficiencyExportListResponseDto>;
41
+ export type EfficiencyInsightsExportControllerListExportsErrorResponse = unknown;
42
+ export interface EfficiencyInsightsExportControllerListExportsProps extends Omit<FetcherOptions<EfficiencyInsightsExportControllerListExportsQueryQueryParams, unknown>, 'url'> {
43
+ queryParams: EfficiencyInsightsExportControllerListExportsQueryQueryParams;
44
+ }
45
+ export declare function efficiencyInsightsExportControllerListExports(props: EfficiencyInsightsExportControllerListExportsProps): Promise<EfficiencyInsightsExportControllerListExportsOkResponse>;
46
+ /**
47
+ * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
48
+ */
49
+ export declare function useEfficiencyInsightsExportControllerListExportsQuery(props: EfficiencyInsightsExportControllerListExportsProps, options?: Omit<UseQueryOptions<EfficiencyInsightsExportControllerListExportsOkResponse, EfficiencyInsightsExportControllerListExportsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyInsightsExportControllerListExportsOkResponse, 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 efficiencyInsightsExportControllerListExports(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/efficiency/exports`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves a paginated list of export jobs with optional filters. Supports filtering by status, team, creator, and date range.
11
+ */
12
+ export function useEfficiencyInsightsExportControllerListExportsQuery(props, options) {
13
+ return useQuery(['EfficiencyInsightsExportControllerListExports', props.queryParams], ({ signal }) => efficiencyInsightsExportControllerListExports(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,19 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationPropertiesResponseDto } from '../schemas/IntegrationPropertiesResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface IntegrationPropertiesControllerGetPropertiesQueryPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ integrationId: number;
10
+ }
11
+ export type IntegrationPropertiesControllerGetPropertiesOkResponse = ResponseWithPagination<unknown>;
12
+ export type IntegrationPropertiesControllerGetPropertiesErrorResponse = IntegrationPropertiesResponseDto;
13
+ export interface IntegrationPropertiesControllerGetPropertiesProps extends IntegrationPropertiesControllerGetPropertiesQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
14
+ }
15
+ export declare function integrationPropertiesControllerGetProperties(props: IntegrationPropertiesControllerGetPropertiesProps): Promise<IntegrationPropertiesControllerGetPropertiesOkResponse>;
16
+ /**
17
+ * Returns all filterable properties for the given integration — both standard properties and custom fields. Integration type is resolved automatically from the integration ID.
18
+ */
19
+ export declare function useIntegrationPropertiesControllerGetPropertiesQuery(props: IntegrationPropertiesControllerGetPropertiesProps, options?: Omit<UseQueryOptions<IntegrationPropertiesControllerGetPropertiesOkResponse, IntegrationPropertiesControllerGetPropertiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationPropertiesControllerGetPropertiesOkResponse, IntegrationPropertiesResponseDto>;
@@ -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 integrationPropertiesControllerGetProperties(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integrations/${props.integrationId}/properties`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns all filterable properties for the given integration — both standard properties and custom fields. Integration type is resolved automatically from the integration ID.
11
+ */
12
+ export function useIntegrationPropertiesControllerGetPropertiesQuery(props, options) {
13
+ return useQuery(['IntegrationPropertiesControllerGetProperties', props.integrationId], ({ signal }) => integrationPropertiesControllerGetProperties(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { IntegrationPropertyValuesResponseDto } from '../schemas/IntegrationPropertyValuesResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface IntegrationPropertiesControllerGetValuesQueryPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ integrationId: number;
10
+ }
11
+ export interface IntegrationPropertiesControllerGetValuesQueryQueryParams {
12
+ property?: string;
13
+ customFieldId?: string;
14
+ }
15
+ export type IntegrationPropertiesControllerGetValuesOkResponse = ResponseWithPagination<unknown>;
16
+ export type IntegrationPropertiesControllerGetValuesErrorResponse = IntegrationPropertyValuesResponseDto;
17
+ export interface IntegrationPropertiesControllerGetValuesProps extends IntegrationPropertiesControllerGetValuesQueryPathParams, Omit<FetcherOptions<IntegrationPropertiesControllerGetValuesQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: IntegrationPropertiesControllerGetValuesQueryQueryParams;
19
+ }
20
+ export declare function integrationPropertiesControllerGetValues(props: IntegrationPropertiesControllerGetValuesProps): Promise<IntegrationPropertiesControllerGetValuesOkResponse>;
21
+ /**
22
+ * Fetches distinct values for a standard property or a custom field. Exactly one of `property` or `customFieldId` must be provided. Integration type is resolved automatically from the integration ID.
23
+ */
24
+ export declare function useIntegrationPropertiesControllerGetValuesQuery(props: IntegrationPropertiesControllerGetValuesProps, options?: Omit<UseQueryOptions<IntegrationPropertiesControllerGetValuesOkResponse, IntegrationPropertiesControllerGetValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<IntegrationPropertiesControllerGetValuesOkResponse, IntegrationPropertyValuesResponseDto>;
@@ -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 integrationPropertiesControllerGetValues(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integrations/${props.integrationId}/properties/values`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Fetches distinct values for a standard property or a custom field. Exactly one of `property` or `customFieldId` must be provided. Integration type is resolved automatically from the integration ID.
11
+ */
12
+ export function useIntegrationPropertiesControllerGetValuesQuery(props, options) {
13
+ return useQuery(['IntegrationPropertiesControllerGetValues', props.integrationId, props.queryParams], ({ signal }) => integrationPropertiesControllerGetValues(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,18 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { InternalEntityRegistrationRequest } from '../schemas/InternalEntityRegistrationRequest';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface InternalUdpControllerRegisterEntityTypeMutationHeaderParams {
6
+ 'x-harness-account-id': string;
7
+ }
8
+ export type InternalUdpControllerRegisterEntityTypeRequestBody = InternalEntityRegistrationRequest;
9
+ export type InternalUdpControllerRegisterEntityTypeOkResponse = ResponseWithPagination<unknown>;
10
+ export type InternalUdpControllerRegisterEntityTypeErrorResponse = unknown;
11
+ export interface InternalUdpControllerRegisterEntityTypeProps extends Omit<FetcherOptions<unknown, InternalUdpControllerRegisterEntityTypeRequestBody, InternalUdpControllerRegisterEntityTypeMutationHeaderParams>, 'url'> {
12
+ body: InternalUdpControllerRegisterEntityTypeRequestBody;
13
+ }
14
+ export declare function internalUdpControllerRegisterEntityType(props: InternalUdpControllerRegisterEntityTypeProps): Promise<InternalUdpControllerRegisterEntityTypeOkResponse>;
15
+ /**
16
+ * Validates schema immutability and queues a TypeRegistryRequest for asynchronous processing by the sei-data-platform sync job. Restricted to localhost callers.
17
+ */
18
+ export declare function useInternalUdpControllerRegisterEntityTypeMutation(options?: Omit<UseMutationOptions<InternalUdpControllerRegisterEntityTypeOkResponse, InternalUdpControllerRegisterEntityTypeErrorResponse, InternalUdpControllerRegisterEntityTypeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InternalUdpControllerRegisterEntityTypeOkResponse, unknown, InternalUdpControllerRegisterEntityTypeProps, 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 internalUdpControllerRegisterEntityType(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/type-registry/entity-types`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Validates schema immutability and queues a TypeRegistryRequest for asynchronous processing by the sei-data-platform sync job. Restricted to localhost callers.
11
+ */
12
+ export function useInternalUdpControllerRegisterEntityTypeMutation(options) {
13
+ return useMutation((mutateProps) => internalUdpControllerRegisterEntityType(mutateProps), options);
14
+ }
@@ -0,0 +1,13 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { CatalogResponseDto } from '../schemas/CatalogResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export type TeamSettingsControllerGetCatalogOkResponse = ResponseWithPagination<CatalogResponseDto>;
6
+ export type TeamSettingsControllerGetCatalogErrorResponse = unknown;
7
+ export interface TeamSettingsControllerGetCatalogProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
8
+ }
9
+ export declare function teamSettingsControllerGetCatalog(props: TeamSettingsControllerGetCatalogProps): Promise<TeamSettingsControllerGetCatalogOkResponse>;
10
+ /**
11
+ * Returns all entity types with their sort order, config schema, and nested filterable properties. No DB access — reads directly from the enum definitions.
12
+ */
13
+ export declare function useTeamSettingsControllerGetCatalogQuery(props: TeamSettingsControllerGetCatalogProps, options?: Omit<UseQueryOptions<TeamSettingsControllerGetCatalogOkResponse, TeamSettingsControllerGetCatalogErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamSettingsControllerGetCatalogOkResponse, 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 teamSettingsControllerGetCatalog(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/catalog`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns all entity types with their sort order, config schema, and nested filterable properties. No DB access — reads directly from the enum definitions.
11
+ */
12
+ export function useTeamSettingsControllerGetCatalogQuery(props, options) {
13
+ return useQuery(['TeamSettingsControllerGetCatalog'], ({ signal }) => teamSettingsControllerGetCatalog(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TeamSettingsDefaultDto } from '../schemas/TeamSettingsDefaultDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface TeamSettingsDefaultsControllerCloneDefaultMutationPathParams {
6
+ /**
7
+ * @format uuid
8
+ */
9
+ id: string;
10
+ }
11
+ export interface TeamSettingsDefaultsControllerCloneDefaultMutationQueryParams {
12
+ orgIdentifier: string;
13
+ projectIdentifier: string;
14
+ }
15
+ export type TeamSettingsDefaultsControllerCloneDefaultOkResponse = ResponseWithPagination<TeamSettingsDefaultDto>;
16
+ export type TeamSettingsDefaultsControllerCloneDefaultErrorResponse = TeamSettingsDefaultDto;
17
+ export interface TeamSettingsDefaultsControllerCloneDefaultProps extends TeamSettingsDefaultsControllerCloneDefaultMutationPathParams, Omit<FetcherOptions<TeamSettingsDefaultsControllerCloneDefaultMutationQueryParams, unknown>, 'url'> {
18
+ queryParams: TeamSettingsDefaultsControllerCloneDefaultMutationQueryParams;
19
+ }
20
+ export declare function teamSettingsDefaultsControllerCloneDefault(props: TeamSettingsDefaultsControllerCloneDefaultProps): Promise<TeamSettingsDefaultsControllerCloneDefaultOkResponse>;
21
+ /**
22
+ * Cloned default starts with no teams linked. Name is auto-generated as 'Copy of <original name>'.
23
+ */
24
+ export declare function useTeamSettingsDefaultsControllerCloneDefaultMutation(options?: Omit<UseMutationOptions<TeamSettingsDefaultsControllerCloneDefaultOkResponse, TeamSettingsDefaultsControllerCloneDefaultErrorResponse, TeamSettingsDefaultsControllerCloneDefaultProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamSettingsDefaultsControllerCloneDefaultOkResponse, TeamSettingsDefaultDto, TeamSettingsDefaultsControllerCloneDefaultProps, 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 teamSettingsDefaultsControllerCloneDefault(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/defaults/${props.id}/clone`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Cloned default starts with no teams linked. Name is auto-generated as 'Copy of <original name>'.
11
+ */
12
+ export function useTeamSettingsDefaultsControllerCloneDefaultMutation(options) {
13
+ return useMutation((mutateProps) => teamSettingsDefaultsControllerCloneDefault(mutateProps), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TeamSettingsDefaultDto } from '../schemas/TeamSettingsDefaultDto';
3
+ import type { TeamSettingsDefaultRequestDto } from '../schemas/TeamSettingsDefaultRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface TeamSettingsDefaultsControllerCreateDefaultMutationQueryParams {
7
+ orgIdentifier: string;
8
+ projectIdentifier: string;
9
+ }
10
+ export type TeamSettingsDefaultsControllerCreateDefaultRequestBody = TeamSettingsDefaultRequestDto;
11
+ export type TeamSettingsDefaultsControllerCreateDefaultOkResponse = ResponseWithPagination<TeamSettingsDefaultDto>;
12
+ export type TeamSettingsDefaultsControllerCreateDefaultErrorResponse = TeamSettingsDefaultDto;
13
+ export interface TeamSettingsDefaultsControllerCreateDefaultProps extends Omit<FetcherOptions<TeamSettingsDefaultsControllerCreateDefaultMutationQueryParams, TeamSettingsDefaultsControllerCreateDefaultRequestBody>, 'url'> {
14
+ queryParams: TeamSettingsDefaultsControllerCreateDefaultMutationQueryParams;
15
+ body: TeamSettingsDefaultsControllerCreateDefaultRequestBody;
16
+ }
17
+ export declare function teamSettingsDefaultsControllerCreateDefault(props: TeamSettingsDefaultsControllerCreateDefaultProps): Promise<TeamSettingsDefaultsControllerCreateDefaultOkResponse>;
18
+ /**
19
+ * Creates a new default. name and orgTreeId are required.
20
+ */
21
+ export declare function useTeamSettingsDefaultsControllerCreateDefaultMutation(options?: Omit<UseMutationOptions<TeamSettingsDefaultsControllerCreateDefaultOkResponse, TeamSettingsDefaultsControllerCreateDefaultErrorResponse, TeamSettingsDefaultsControllerCreateDefaultProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamSettingsDefaultsControllerCreateDefaultOkResponse, TeamSettingsDefaultDto, TeamSettingsDefaultsControllerCreateDefaultProps, 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 teamSettingsDefaultsControllerCreateDefault(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/defaults`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Creates a new default. name and orgTreeId are required.
11
+ */
12
+ export function useTeamSettingsDefaultsControllerCreateDefaultMutation(options) {
13
+ return useMutation((mutateProps) => teamSettingsDefaultsControllerCreateDefault(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseWithPagination } from '../helpers';
3
+ import { FetcherOptions } from '../../../../fetcher/index.js';
4
+ export interface TeamSettingsDefaultsControllerDeleteDefaultMutationPathParams {
5
+ /**
6
+ * @format uuid
7
+ */
8
+ id: string;
9
+ }
10
+ export interface TeamSettingsDefaultsControllerDeleteDefaultMutationQueryParams {
11
+ orgIdentifier: string;
12
+ projectIdentifier: string;
13
+ }
14
+ export type TeamSettingsDefaultsControllerDeleteDefaultOkResponse = ResponseWithPagination<unknown>;
15
+ export type TeamSettingsDefaultsControllerDeleteDefaultErrorResponse = unknown;
16
+ export interface TeamSettingsDefaultsControllerDeleteDefaultProps extends TeamSettingsDefaultsControllerDeleteDefaultMutationPathParams, Omit<FetcherOptions<TeamSettingsDefaultsControllerDeleteDefaultMutationQueryParams, unknown>, 'url'> {
17
+ queryParams: TeamSettingsDefaultsControllerDeleteDefaultMutationQueryParams;
18
+ }
19
+ export declare function teamSettingsDefaultsControllerDeleteDefault(props: TeamSettingsDefaultsControllerDeleteDefaultProps): Promise<TeamSettingsDefaultsControllerDeleteDefaultOkResponse>;
20
+ /**
21
+ * Fails with 409 if any teams are still linked to this default.
22
+ */
23
+ export declare function useTeamSettingsDefaultsControllerDeleteDefaultMutation(options?: Omit<UseMutationOptions<TeamSettingsDefaultsControllerDeleteDefaultOkResponse, TeamSettingsDefaultsControllerDeleteDefaultErrorResponse, TeamSettingsDefaultsControllerDeleteDefaultProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamSettingsDefaultsControllerDeleteDefaultOkResponse, unknown, TeamSettingsDefaultsControllerDeleteDefaultProps, 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 teamSettingsDefaultsControllerDeleteDefault(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/defaults/${props.id}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Fails with 409 if any teams are still linked to this default.
11
+ */
12
+ export function useTeamSettingsDefaultsControllerDeleteDefaultMutation(options) {
13
+ return useMutation((mutateProps) => teamSettingsDefaultsControllerDeleteDefault(mutateProps), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TeamSettingsDefaultDto } from '../schemas/TeamSettingsDefaultDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface TeamSettingsDefaultsControllerGetDefaultQueryPathParams {
6
+ /**
7
+ * @format uuid
8
+ */
9
+ id: string;
10
+ }
11
+ export interface TeamSettingsDefaultsControllerGetDefaultQueryQueryParams {
12
+ orgIdentifier: string;
13
+ projectIdentifier: string;
14
+ }
15
+ export type TeamSettingsDefaultsControllerGetDefaultOkResponse = ResponseWithPagination<TeamSettingsDefaultDto>;
16
+ export type TeamSettingsDefaultsControllerGetDefaultErrorResponse = TeamSettingsDefaultDto;
17
+ export interface TeamSettingsDefaultsControllerGetDefaultProps extends TeamSettingsDefaultsControllerGetDefaultQueryPathParams, Omit<FetcherOptions<TeamSettingsDefaultsControllerGetDefaultQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: TeamSettingsDefaultsControllerGetDefaultQueryQueryParams;
19
+ }
20
+ export declare function teamSettingsDefaultsControllerGetDefault(props: TeamSettingsDefaultsControllerGetDefaultProps): Promise<TeamSettingsDefaultsControllerGetDefaultOkResponse>;
21
+ /**
22
+ * Full default object including entities, developerSettings, and teamRefIds.
23
+ */
24
+ export declare function useTeamSettingsDefaultsControllerGetDefaultQuery(props: TeamSettingsDefaultsControllerGetDefaultProps, options?: Omit<UseQueryOptions<TeamSettingsDefaultsControllerGetDefaultOkResponse, TeamSettingsDefaultsControllerGetDefaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamSettingsDefaultsControllerGetDefaultOkResponse, TeamSettingsDefaultDto>;
@@ -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 teamSettingsDefaultsControllerGetDefault(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/defaults/${props.id}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Full default object including entities, developerSettings, and teamRefIds.
11
+ */
12
+ export function useTeamSettingsDefaultsControllerGetDefaultQuery(props, options) {
13
+ return useQuery(['TeamSettingsDefaultsControllerGetDefault', props.id, props.queryParams], ({ signal }) => teamSettingsDefaultsControllerGetDefault(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,41 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TeamSettingsDefaultListResponseDto } from '../schemas/TeamSettingsDefaultListResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface TeamSettingsDefaultsControllerListDefaultsQueryQueryParams {
6
+ orgIdentifier: string;
7
+ projectIdentifier: string;
8
+ /**
9
+ * @format int32
10
+ */
11
+ orgTreeId?: number;
12
+ name?: string;
13
+ /**
14
+ * @default "updatedAt"
15
+ */
16
+ sortBy?: string;
17
+ /**
18
+ * @default "DESC"
19
+ */
20
+ sortOrder?: string;
21
+ /**
22
+ * @format int32
23
+ * @default 0
24
+ */
25
+ pageIndex?: number;
26
+ /**
27
+ * @format int32
28
+ * @default 20
29
+ */
30
+ pageSize?: number;
31
+ }
32
+ export type TeamSettingsDefaultsControllerListDefaultsOkResponse = ResponseWithPagination<TeamSettingsDefaultListResponseDto>;
33
+ export type TeamSettingsDefaultsControllerListDefaultsErrorResponse = unknown;
34
+ export interface TeamSettingsDefaultsControllerListDefaultsProps extends Omit<FetcherOptions<TeamSettingsDefaultsControllerListDefaultsQueryQueryParams, unknown>, 'url'> {
35
+ queryParams: TeamSettingsDefaultsControllerListDefaultsQueryQueryParams;
36
+ }
37
+ export declare function teamSettingsDefaultsControllerListDefaults(props: TeamSettingsDefaultsControllerListDefaultsProps): Promise<TeamSettingsDefaultsControllerListDefaultsOkResponse>;
38
+ /**
39
+ * Paginated list of defaults. Summary shape only — use GET /{id} for full object.
40
+ */
41
+ export declare function useTeamSettingsDefaultsControllerListDefaultsQuery(props: TeamSettingsDefaultsControllerListDefaultsProps, options?: Omit<UseQueryOptions<TeamSettingsDefaultsControllerListDefaultsOkResponse, TeamSettingsDefaultsControllerListDefaultsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamSettingsDefaultsControllerListDefaultsOkResponse, 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 teamSettingsDefaultsControllerListDefaults(props) {
7
+ return fetcher(Object.assign({ url: `/v2/team-settings/defaults`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Paginated list of defaults. Summary shape only — use GET /{id} for full object.
11
+ */
12
+ export function useTeamSettingsDefaultsControllerListDefaultsQuery(props, options) {
13
+ return useQuery(['TeamSettingsDefaultsControllerListDefaults', props.queryParams], ({ signal }) => teamSettingsDefaultsControllerListDefaults(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }