@harnessio/react-sei-panorama-service-client 0.18.2 → 0.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetFilterValuesMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetFilterValuesMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts +4 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +4 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.js +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.d.ts +4 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.d.ts +4 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +7 -3
- package/dist/sei-panorama-service/src/services/index.js +1 -1
- package/dist/sei-panorama-service/src/services/schemas/{TeamRequestDto.d.ts → Developer.d.ts} +13 -9
- package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/IntegrationUserInfo.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationUserInfo.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +0 -9
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.js +3 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginatedResponseTeamSummary.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +6 -2
- package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +5 -4
- package/dist/sei-panorama-service/src/services/schemas/TeamIntegrationDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamResponse.d.ts +0 -10
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.d.ts +0 -26
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.js +0 -14
- /package/dist/sei-panorama-service/src/services/schemas/{TeamRequestDto.js → Developer.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
|
3
|
-
import type {
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
@@ -8,7 +8,7 @@ export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
|
-
export type EfficiencyControllerChangeFailureRateRequestBody =
|
11
|
+
export type EfficiencyControllerChangeFailureRateRequestBody = EfficiencyRequest;
|
12
12
|
export type EfficiencyControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraChangeFailureRateMetric>;
|
13
13
|
export type EfficiencyControllerChangeFailureRateErrorResponse = string;
|
14
14
|
export interface EfficiencyControllerChangeFailureRateProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody>, 'url'> {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
|
3
|
-
import type {
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
@@ -8,7 +8,7 @@ export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
|
-
export type EfficiencyControllerDeploymentFrequencyRequestBody =
|
11
|
+
export type EfficiencyControllerDeploymentFrequencyRequestBody = EfficiencyRequest;
|
12
12
|
export type EfficiencyControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
|
13
13
|
export type EfficiencyControllerDeploymentFrequencyErrorResponse = string;
|
14
14
|
export interface EfficiencyControllerDeploymentFrequencyProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody>, 'url'> {
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
|
-
import type {
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
@@ -8,7 +8,7 @@ export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
|
-
export type EfficiencyControllerLeadTimeRequestBody =
|
11
|
+
export type EfficiencyControllerLeadTimeRequestBody = EfficiencyRequest;
|
12
12
|
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
13
|
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
14
14
|
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { FilterValuesRequestDto } from '../schemas/FilterValuesRequestDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface IntegrationControllerGetFilterValuesMutationQueryParams {
|
6
|
+
account: string;
|
7
|
+
}
|
8
|
+
export type IntegrationControllerGetFilterValuesRequestBody = FilterValuesRequestDto;
|
9
|
+
export type IntegrationControllerGetFilterValuesOkResponse = ResponseWithPagination<string[]>;
|
10
|
+
export type IntegrationControllerGetFilterValuesErrorResponse = string[];
|
11
|
+
export interface IntegrationControllerGetFilterValuesProps extends Omit<FetcherOptions<IntegrationControllerGetFilterValuesMutationQueryParams, IntegrationControllerGetFilterValuesRequestBody>, 'url'> {
|
12
|
+
queryParams: IntegrationControllerGetFilterValuesMutationQueryParams;
|
13
|
+
body: IntegrationControllerGetFilterValuesRequestBody;
|
14
|
+
}
|
15
|
+
export declare function integrationControllerGetFilterValues(props: IntegrationControllerGetFilterValuesProps): Promise<IntegrationControllerGetFilterValuesOkResponse>;
|
16
|
+
/**
|
17
|
+
* Returns a list of distinct values for a specific filter key in an integration.
|
18
|
+
*/
|
19
|
+
export declare function useIntegrationControllerGetFilterValuesMutation(options?: Omit<UseMutationOptions<IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesProps, 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 integrationControllerGetFilterValues(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/filter_values`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns a list of distinct values for a specific filter key in an integration.
|
11
|
+
*/
|
12
|
+
export function useIntegrationControllerGetFilterValuesMutation(options) {
|
13
|
+
return useMutation((mutateProps) => integrationControllerGetFilterValues(mutateProps), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.d.ts
CHANGED
@@ -3,7 +3,10 @@ import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface TeamsControllerGetTeamDevelopersQueryPathParams {
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
teamRefId: number;
|
7
10
|
}
|
8
11
|
export interface TeamsControllerGetTeamDevelopersQueryQueryParams {
|
9
12
|
account: string;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerGetTeamDevelopers(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Returns developers for the specified team with optional pagination support
|
11
11
|
*/
|
12
12
|
export function useTeamsControllerGetTeamDevelopersQuery(props, options) {
|
13
|
-
return useQuery(['TeamsControllerGetTeamDevelopers', props.
|
13
|
+
return useQuery(['TeamsControllerGetTeamDevelopers', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeamDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -3,7 +3,10 @@ import type { GroupedTeamFiltersResponseDto } from '../schemas/GroupedTeamFilter
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface TeamsControllerGetTeamIntegrationFiltersQueryPathParams {
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
teamRefId: number;
|
7
10
|
}
|
8
11
|
export interface TeamsControllerGetTeamIntegrationFiltersQueryQueryParams {
|
9
12
|
integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
@@ -4,11 +4,11 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerGetTeamIntegrationFilters(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/integration_filters`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Returns filters for the specified team, grouped by integration type. If a specific integrationType is provided in the request, the response will include filters for that type. If no integrationType is provided, it will include filters for all integration types.
|
11
11
|
*/
|
12
12
|
export function useTeamsControllerGetTeamIntegrationFiltersQuery(props, options) {
|
13
|
-
return useQuery(['TeamsControllerGetTeamIntegrationFilters', props.
|
13
|
+
return useQuery(['TeamsControllerGetTeamIntegrationFilters', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeamIntegrationFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.d.ts
CHANGED
@@ -3,7 +3,7 @@ import type { TeamIntegrationDto } from '../schemas/TeamIntegrationDto';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface TeamsControllerGetTeamIntegrationsQueryPathParams {
|
6
|
-
|
6
|
+
teamRefId: string;
|
7
7
|
}
|
8
8
|
export interface TeamsControllerGetTeamIntegrationsQueryQueryParams {
|
9
9
|
account: string;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.js
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerGetTeamIntegrations(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/integrations`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Returns all integrations for the specified team
|
11
11
|
*/
|
12
12
|
export function useTeamsControllerGetTeamIntegrationsQuery(props, options) {
|
13
|
-
return useQuery(['TeamsControllerGetTeamIntegrations', props.
|
13
|
+
return useQuery(['TeamsControllerGetTeamIntegrations', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeamIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -6,7 +6,7 @@ export interface TeamsControllerGetTeamQueryPathParams {
|
|
6
6
|
/**
|
7
7
|
* @format int32
|
8
8
|
*/
|
9
|
-
|
9
|
+
teamRefId: number;
|
10
10
|
}
|
11
11
|
export interface TeamsControllerGetTeamQueryQueryParams {
|
12
12
|
account: string;
|
@@ -18,6 +18,6 @@ export interface TeamsControllerGetTeamProps extends TeamsControllerGetTeamQuery
|
|
18
18
|
}
|
19
19
|
export declare function teamsControllerGetTeam(props: TeamsControllerGetTeamProps): Promise<TeamsControllerGetTeamOkResponse>;
|
20
20
|
/**
|
21
|
-
* Returns the team with the specified ID
|
21
|
+
* Returns the team with the specified reference ID
|
22
22
|
*/
|
23
23
|
export declare function useTeamsControllerGetTeamQuery(props: TeamsControllerGetTeamProps, options?: Omit<UseQueryOptions<TeamsControllerGetTeamOkResponse, TeamsControllerGetTeamErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerGetTeamOkResponse, TeamResponse>;
|
@@ -4,11 +4,11 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerGetTeam(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/team_info`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* Returns the team with the specified ID
|
10
|
+
* Returns the team with the specified reference ID
|
11
11
|
*/
|
12
12
|
export function useTeamsControllerGetTeamQuery(props, options) {
|
13
|
-
return useQuery(['TeamsControllerGetTeam', props.
|
13
|
+
return useQuery(['TeamsControllerGetTeam', props.teamRefId, props.queryParams], ({ signal }) => teamsControllerGetTeam(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -3,7 +3,10 @@ import type { GroupedTeamFiltersResponseDto } from '../schemas/GroupedTeamFilter
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface TeamsControllerUpdateTeamIntegrationFiltersMutationPathParams {
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
teamRefId: number;
|
7
10
|
}
|
8
11
|
export interface TeamsControllerUpdateTeamIntegrationFiltersMutationQueryParams {
|
9
12
|
account: string;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerUpdateTeamIntegrationFilters(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/integration_filters`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Updates filters for the specified team using a map of integration types to filters. Each integration type can have multiple filters.
|
@@ -3,7 +3,10 @@ import type { TeamIntegrationDto } from '../schemas/TeamIntegrationDto';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface TeamsControllerUpdateTeamIntegrationsMutationPathParams {
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
teamRefId: number;
|
7
10
|
}
|
8
11
|
export interface TeamsControllerUpdateTeamIntegrationsMutationQueryParams {
|
9
12
|
account: string;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function teamsControllerUpdateTeamIntegrations(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/integrations`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Updates integrations for the specified team
|
@@ -75,6 +75,8 @@ export type { InsightSettingsControllerGetSettingsErrorResponse, InsightSettings
|
|
75
75
|
export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
|
76
76
|
export type { InsightSettingsControllerUpdateSettingsErrorResponse, InsightSettingsControllerUpdateSettingsMutationQueryParams, InsightSettingsControllerUpdateSettingsOkResponse, InsightSettingsControllerUpdateSettingsProps, InsightSettingsControllerUpdateSettingsRequestBody, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
77
77
|
export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
78
|
+
export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesMutationQueryParams, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
79
|
+
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesMutation, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
78
80
|
export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsProps, IntegrationControllerListIntegrationsQueryQueryParams, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
79
81
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
80
82
|
export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
@@ -135,8 +137,6 @@ export type { TeamsControllerUpdateTeamIntegrationFiltersErrorResponse, TeamsCon
|
|
135
137
|
export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
136
138
|
export type { TeamsControllerUpdateTeamIntegrationsErrorResponse, TeamsControllerUpdateTeamIntegrationsMutationPathParams, TeamsControllerUpdateTeamIntegrationsMutationQueryParams, TeamsControllerUpdateTeamIntegrationsOkResponse, TeamsControllerUpdateTeamIntegrationsProps, TeamsControllerUpdateTeamIntegrationsRequestBody, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
137
139
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
138
|
-
export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamMutationPathParams, TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamProps, TeamsControllerUpdateTeamRequestBody, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
139
|
-
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
140
140
|
export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
|
141
141
|
export type { BaCategoryMetric } from './schemas/BaCategoryMetric';
|
142
142
|
export type { BaDataPoint } from './schemas/BaDataPoint';
|
@@ -158,6 +158,8 @@ export type { DataPointChangeFailureRate } from './schemas/DataPointChangeFailur
|
|
158
158
|
export type { DataPointDeploymentFrequency } from './schemas/DataPointDeploymentFrequency';
|
159
159
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
160
160
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
161
|
+
export type { Developer } from './schemas/Developer';
|
162
|
+
export type { DeveloperInfo } from './schemas/DeveloperInfo';
|
161
163
|
export type { DfConfigurationDto } from './schemas/DfConfigurationDto';
|
162
164
|
export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
|
163
165
|
export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
|
@@ -180,10 +182,12 @@ export type { DrilldownDataPoint } from './schemas/DrilldownDataPoint';
|
|
180
182
|
export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
|
181
183
|
export type { EfficiencyProfileEvent } from './schemas/EfficiencyProfileEvent';
|
182
184
|
export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
|
185
|
+
export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
|
183
186
|
export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
184
187
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
185
188
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
186
189
|
export type { FeatureDto } from './schemas/FeatureDto';
|
190
|
+
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
187
191
|
export type { GroupByField } from './schemas/GroupByField';
|
188
192
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
189
193
|
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
@@ -197,6 +201,7 @@ export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
|
197
201
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
198
202
|
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
199
203
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
204
|
+
export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
|
200
205
|
export type { ListResponseDtoEfficiencyProfileResponseDto } from './schemas/ListResponseDtoEfficiencyProfileResponseDto';
|
201
206
|
export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListResponseDtoIntegrationResponseDto';
|
202
207
|
export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
|
@@ -238,7 +243,6 @@ export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
|
238
243
|
export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
|
239
244
|
export type { TeamFilter } from './schemas/TeamFilter';
|
240
245
|
export type { TeamIntegrationDto } from './schemas/TeamIntegrationDto';
|
241
|
-
export type { TeamRequestDto } from './schemas/TeamRequestDto';
|
242
246
|
export type { TeamResponse } from './schemas/TeamResponse';
|
243
247
|
export type { TeamSummary } from './schemas/TeamSummary';
|
244
248
|
export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
@@ -36,6 +36,7 @@ export { exportControllerExportData, useExportControllerExportDataMutation, } fr
|
|
36
36
|
export { insightSettingsControllerCreateSettings, useInsightSettingsControllerCreateSettingsMutation, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
|
37
37
|
export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
|
38
38
|
export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
39
|
+
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesMutation, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
39
40
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
40
41
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
41
42
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
@@ -66,4 +67,3 @@ export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks
|
|
66
67
|
export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
|
67
68
|
export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
68
69
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
69
|
-
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
package/dist/sei-panorama-service/src/services/schemas/{TeamRequestDto.d.ts → Developer.d.ts}
RENAMED
@@ -1,25 +1,29 @@
|
|
1
|
-
export interface
|
1
|
+
export interface Developer {
|
2
2
|
active?: boolean;
|
3
|
-
createdByEmail?: string;
|
4
|
-
latest?: boolean;
|
5
|
-
leaf?: boolean;
|
6
3
|
/**
|
7
|
-
* @format
|
4
|
+
* @format date-time
|
8
5
|
*/
|
9
|
-
|
10
|
-
|
6
|
+
createdAt?: string;
|
7
|
+
createdByEmail?: string;
|
8
|
+
email?: string;
|
11
9
|
/**
|
12
10
|
* @format int32
|
13
11
|
*/
|
14
|
-
|
12
|
+
id?: number;
|
13
|
+
latest?: boolean;
|
15
14
|
/**
|
16
15
|
* @format int32
|
17
16
|
*/
|
18
|
-
|
17
|
+
managerRefId?: number;
|
18
|
+
name?: string;
|
19
19
|
/**
|
20
20
|
* @format int32
|
21
21
|
*/
|
22
22
|
refId?: number;
|
23
|
+
/**
|
24
|
+
* @format date-time
|
25
|
+
*/
|
26
|
+
updatedAt?: string;
|
23
27
|
updatedByEmail?: string;
|
24
28
|
/**
|
25
29
|
* @format int32
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Developer } from '../schemas/Developer';
|
2
|
+
import type { IntegrationUserInfo } from '../schemas/IntegrationUserInfo';
|
3
|
+
export interface DeveloperInfo {
|
4
|
+
attributes?: {
|
5
|
+
[key: string]: string;
|
6
|
+
};
|
7
|
+
basicInfo?: Developer;
|
8
|
+
integrationUsers?: IntegrationUserInfo[];
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface FilterValuesRequestDto {
|
2
|
+
/**
|
3
|
+
* Filter key to get values for
|
4
|
+
*/
|
5
|
+
filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
6
|
+
/**
|
7
|
+
* Integration ID
|
8
|
+
*/
|
9
|
+
integrationId?: string;
|
10
|
+
/**
|
11
|
+
* Team Integration ID
|
12
|
+
*/
|
13
|
+
teamIntegrationId?: string;
|
14
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export interface IntegrationUserInfo {
|
2
|
+
cloudEmail?: string;
|
3
|
+
cloudId?: string;
|
4
|
+
cloudName?: string;
|
5
|
+
/**
|
6
|
+
* @format date-time
|
7
|
+
*/
|
8
|
+
createdAt?: string;
|
9
|
+
/**
|
10
|
+
* @format int32
|
11
|
+
*/
|
12
|
+
integrationId?: number;
|
13
|
+
/**
|
14
|
+
* @format date-time
|
15
|
+
*/
|
16
|
+
updatedAt?: string;
|
17
|
+
}
|
@@ -4,8 +4,9 @@
|
|
4
4
|
export interface MinimalTeamHierarchyResponseDto {
|
5
5
|
/**
|
6
6
|
* List of child teams in the hierarchy
|
7
|
+
* @example []
|
7
8
|
*/
|
8
|
-
children?: MinimalTeamHierarchyResponseDto;
|
9
|
+
children?: MinimalTeamHierarchyResponseDto[];
|
9
10
|
/**
|
10
11
|
* Whether this team is a leaf node (has no children)
|
11
12
|
*/
|
@@ -1,7 +1,5 @@
|
|
1
|
-
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
1
|
import type { GroupByField } from '../schemas/GroupByField';
|
3
2
|
export interface OrgTreeCreateRequestDto {
|
4
|
-
efficiencyProfile?: OrgTreeProfileDto;
|
5
3
|
/**
|
6
4
|
* @format int32
|
7
5
|
*/
|
@@ -15,7 +13,6 @@ export interface OrgTreeCreateRequestDto {
|
|
15
13
|
*/
|
16
14
|
integrationIds?: number[];
|
17
15
|
name: string;
|
18
|
-
productivityProfile?: OrgTreeProfileDto;
|
19
16
|
/**
|
20
17
|
* @format int32
|
21
18
|
*/
|
@@ -8,10 +8,6 @@ export interface OrgTreeResponseDto {
|
|
8
8
|
createdAtEpochSec?: number;
|
9
9
|
createdByEmail?: string;
|
10
10
|
efficiencyProfile?: OrgTreeProfileDto;
|
11
|
-
/**
|
12
|
-
* @format int32
|
13
|
-
*/
|
14
|
-
efficiencyProfileRefId?: number;
|
15
11
|
/**
|
16
12
|
* List of fields to group by when creating the organization tree
|
17
13
|
*/
|
@@ -20,17 +16,12 @@ export interface OrgTreeResponseDto {
|
|
20
16
|
* @format int32
|
21
17
|
*/
|
22
18
|
id: number;
|
23
|
-
integrationIds?: number[];
|
24
19
|
/**
|
25
20
|
* List of integrations associated with this org tree
|
26
21
|
*/
|
27
22
|
integrations?: IntegrationResponseDto[];
|
28
23
|
name: string;
|
29
24
|
productivityProfile?: OrgTreeProfileDto;
|
30
|
-
/**
|
31
|
-
* @format int32
|
32
|
-
*/
|
33
|
-
productivityProfileRefId?: number;
|
34
25
|
/**
|
35
26
|
* @format int32
|
36
27
|
*/
|
@@ -1,6 +1,4 @@
|
|
1
|
-
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
1
|
export interface OrgTreeUpdateRequestDto {
|
3
|
-
efficiencyProfile?: OrgTreeProfileDto;
|
4
2
|
/**
|
5
3
|
* @format int32
|
6
4
|
*/
|
@@ -10,7 +8,6 @@ export interface OrgTreeUpdateRequestDto {
|
|
10
8
|
*/
|
11
9
|
integrationIds?: number[];
|
12
10
|
name: string;
|
13
|
-
productivityProfile?: OrgTreeProfileDto;
|
14
11
|
/**
|
15
12
|
* @format int32
|
16
13
|
*/
|
@@ -1,9 +1,13 @@
|
|
1
|
+
import type { DeveloperInfo } from '../schemas/DeveloperInfo';
|
1
2
|
import type { PaginationMetadata } from '../schemas/PaginationMetadata';
|
2
3
|
export interface TeamDevelopersDto {
|
3
|
-
|
4
|
+
developerInfoMap?: {
|
5
|
+
[key: string]: DeveloperInfo;
|
6
|
+
};
|
7
|
+
developerRefIds?: number[];
|
4
8
|
pagination?: PaginationMetadata;
|
5
9
|
/**
|
6
10
|
* @format int32
|
7
11
|
*/
|
8
|
-
|
12
|
+
teamRefId?: number;
|
9
13
|
}
|
@@ -1,9 +1,6 @@
|
|
1
1
|
export interface TeamFilter {
|
2
2
|
applicableMetrics?: Array<'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
|
3
|
-
|
4
|
-
* @format int32
|
5
|
-
*/
|
6
|
-
filterId?: number;
|
3
|
+
filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
7
4
|
/**
|
8
5
|
* @format int32
|
9
6
|
*/
|
@@ -14,5 +11,9 @@ export interface TeamFilter {
|
|
14
11
|
integrationId?: number;
|
15
12
|
integrationName?: string;
|
16
13
|
operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
|
14
|
+
/**
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
questionId?: number;
|
17
18
|
values?: string[];
|
18
19
|
}
|
@@ -1,15 +1,9 @@
|
|
1
1
|
export interface TeamResponse {
|
2
|
-
active?: boolean;
|
3
2
|
/**
|
4
3
|
* @format date-time
|
5
4
|
*/
|
6
5
|
createdAt?: string;
|
7
6
|
createdByEmail?: string;
|
8
|
-
/**
|
9
|
-
* @format int32
|
10
|
-
*/
|
11
|
-
id?: number;
|
12
|
-
latest?: boolean;
|
13
7
|
leaf?: boolean;
|
14
8
|
/**
|
15
9
|
* @format int32
|
@@ -33,8 +27,4 @@ export interface TeamResponse {
|
|
33
27
|
*/
|
34
28
|
updatedAt?: string;
|
35
29
|
updatedByEmail?: string;
|
36
|
-
/**
|
37
|
-
* @format int32
|
38
|
-
*/
|
39
|
-
versionId?: number;
|
40
30
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.18.
|
3
|
+
"version": "0.18.4",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.d.ts
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { TeamResponse } from '../schemas/TeamResponse';
|
3
|
-
import type { TeamRequestDto } from '../schemas/TeamRequestDto';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface TeamsControllerUpdateTeamMutationPathParams {
|
7
|
-
/**
|
8
|
-
* @format int32
|
9
|
-
*/
|
10
|
-
teamId: number;
|
11
|
-
}
|
12
|
-
export interface TeamsControllerUpdateTeamMutationQueryParams {
|
13
|
-
account: string;
|
14
|
-
}
|
15
|
-
export type TeamsControllerUpdateTeamRequestBody = TeamRequestDto;
|
16
|
-
export type TeamsControllerUpdateTeamOkResponse = ResponseWithPagination<TeamResponse>;
|
17
|
-
export type TeamsControllerUpdateTeamErrorResponse = TeamResponse;
|
18
|
-
export interface TeamsControllerUpdateTeamProps extends TeamsControllerUpdateTeamMutationPathParams, Omit<FetcherOptions<TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamRequestBody>, 'url'> {
|
19
|
-
queryParams: TeamsControllerUpdateTeamMutationQueryParams;
|
20
|
-
body: TeamsControllerUpdateTeamRequestBody;
|
21
|
-
}
|
22
|
-
export declare function teamsControllerUpdateTeam(props: TeamsControllerUpdateTeamProps): Promise<TeamsControllerUpdateTeamOkResponse>;
|
23
|
-
/**
|
24
|
-
* Updates the team with the specified ID
|
25
|
-
*/
|
26
|
-
export declare function useTeamsControllerUpdateTeamMutation(options?: Omit<UseMutationOptions<TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamsControllerUpdateTeamOkResponse, TeamResponse, TeamsControllerUpdateTeamProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.js
DELETED
@@ -1,14 +0,0 @@
|
|
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 teamsControllerUpdateTeam(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.teamId}/team_info`, method: 'PUT' }, props));
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* Updates the team with the specified ID
|
11
|
-
*/
|
12
|
-
export function useTeamsControllerUpdateTeamMutation(options) {
|
13
|
-
return useMutation((mutateProps) => teamsControllerUpdateTeam(mutateProps), options);
|
14
|
-
}
|
File without changes
|