@harnessio/react-sei-panorama-service-client 0.22.5 → 0.22.7
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/useTeamsControllerListTeamsQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerListTeamsQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AccessResponseDto.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/AccessResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointDeploymentFrequency.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/DoraChangeFailureRateMetricBreakdown.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraChangeFailureRateMetricBreakdown.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetric.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryCard.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/schemas/TeamResponse.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamResponse.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/TeamSummary.d.ts +2 -0
- package/package.json +1 -1
|
@@ -32,6 +32,6 @@ export interface TeamsControllerListTeamsProps extends Omit<FetcherOptions<Teams
|
|
|
32
32
|
}
|
|
33
33
|
export declare function teamsControllerListTeams(props: TeamsControllerListTeamsProps): Promise<TeamsControllerListTeamsOkResponse>;
|
|
34
34
|
/**
|
|
35
|
-
* Returns all teams with optional pagination
|
|
35
|
+
* Returns all teams with optional pagination and RBAC permissions
|
|
36
36
|
*/
|
|
37
37
|
export declare function useTeamsControllerListTeamsQuery(props: TeamsControllerListTeamsProps, options?: Omit<UseQueryOptions<TeamsControllerListTeamsOkResponse, TeamsControllerListTeamsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerListTeamsOkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function teamsControllerListTeams(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/teams/list`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Returns all teams with optional pagination
|
|
10
|
+
* Returns all teams with optional pagination and RBAC permissions
|
|
11
11
|
*/
|
|
12
12
|
export function useTeamsControllerListTeamsQuery(props, options) {
|
|
13
13
|
return useQuery(['TeamsControllerListTeams', props.queryParams], ({ signal }) => teamsControllerListTeams(Object.assign(Object.assign({}, props), { signal })), options);
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts
CHANGED
|
@@ -32,6 +32,6 @@ export interface TeamsControllerSearchTeamsProps extends Omit<FetcherOptions<Tea
|
|
|
32
32
|
}
|
|
33
33
|
export declare function teamsControllerSearchTeams(props: TeamsControllerSearchTeamsProps): Promise<TeamsControllerSearchTeamsOkResponse>;
|
|
34
34
|
/**
|
|
35
|
-
* Search teams with filtering and sorting options
|
|
35
|
+
* Search teams with filtering and sorting options and RBAC permissions
|
|
36
36
|
*/
|
|
37
37
|
export declare function useTeamsControllerSearchTeamsQuery(props: TeamsControllerSearchTeamsProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamsOkResponse, TeamsControllerSearchTeamsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamsOkResponse, unknown>;
|
|
@@ -7,7 +7,7 @@ export function teamsControllerSearchTeams(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/teams/list`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Search teams with filtering and sorting options
|
|
10
|
+
* Search teams with filtering and sorting options and RBAC permissions
|
|
11
11
|
*/
|
|
12
12
|
export function useTeamsControllerSearchTeamsQuery(props, options) {
|
|
13
13
|
return useQuery(['TeamsControllerSearchTeams', props.queryParams, props.body], ({ signal }) => teamsControllerSearchTeams(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -293,6 +293,7 @@ export type { TeamsControllerUpdateTeamIntegrationsErrorResponse, TeamsControlle
|
|
|
293
293
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
|
294
294
|
export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamMutationPathParams, TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamProps, TeamsControllerUpdateTeamRequestBody, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
295
295
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
296
|
+
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
296
297
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
297
298
|
export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
|
|
298
299
|
export type { BaCategoryDto } from './schemas/BaCategoryDto';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Access control permissions for a team
|
|
3
|
+
*/
|
|
4
|
+
export interface AccessResponseDto {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the user can create teams
|
|
7
|
+
*/
|
|
8
|
+
create?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the user can delete this team
|
|
11
|
+
*/
|
|
12
|
+
delete?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the user can edit this team
|
|
15
|
+
*/
|
|
16
|
+
edit?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the user can view this team
|
|
19
|
+
* @example true
|
|
20
|
+
*/
|
|
21
|
+
view?: boolean;
|
|
22
|
+
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import type { AccessResponseDto } from '../schemas/AccessResponseDto';
|
|
1
2
|
import type { TeamFilter } from '../schemas/TeamFilter';
|
|
2
3
|
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
|
3
4
|
/**
|
|
4
5
|
* Team hierarchy response with minimal information
|
|
5
6
|
*/
|
|
6
7
|
export interface MinimalTeamHierarchyResponseDto {
|
|
8
|
+
/**
|
|
9
|
+
* Access control permissions for this team
|
|
10
|
+
*/
|
|
11
|
+
accessResponse?: AccessResponseDto;
|
|
7
12
|
/**
|
|
8
13
|
* List of child teams in the hierarchy
|
|
9
14
|
* @example []
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
2
|
import type { Stage } from '../schemas/Stage';
|
|
3
3
|
export interface SummaryValue {
|
|
4
|
+
changeFailureRateRating?: RatingDto;
|
|
4
5
|
/**
|
|
5
6
|
* @format int32
|
|
6
7
|
*/
|
|
7
8
|
count?: number;
|
|
9
|
+
deploymentFrequencyRating?: RatingDto;
|
|
8
10
|
/**
|
|
9
11
|
* @format int32
|
|
10
12
|
*/
|
|
@@ -29,6 +31,5 @@ export interface SummaryValue {
|
|
|
29
31
|
*/
|
|
30
32
|
p95?: number;
|
|
31
33
|
p95Rating?: RatingDto;
|
|
32
|
-
rating?: 'DANGER' | 'ELITE' | 'FAIR' | 'NEEDS_IMPROVEMENT' | 'SUCCESS' | 'WARNING';
|
|
33
34
|
stageBreakdown?: Stage[];
|
|
34
35
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { AccessResponseDto } from '../schemas/AccessResponseDto';
|
|
1
2
|
import type { IntegrationSummary } from '../schemas/IntegrationSummary';
|
|
2
3
|
import type { MinimalOrgTree } from '../schemas/MinimalOrgTree';
|
|
3
4
|
export interface TeamSummary {
|
|
5
|
+
accessResponse?: AccessResponseDto;
|
|
4
6
|
/**
|
|
5
7
|
* @format int32
|
|
6
8
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.7",
|
|
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",
|