@harnessio/react-sei-panorama-service-client 0.22.6 → 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.
@@ -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);
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,6 @@
1
+ import type { RatingDto } from '../schemas/RatingDto';
1
2
  export interface DoraChangeFailureRateMetricBreakdown {
3
+ changeFailureRateRating?: RatingDto;
2
4
  collectionId?: string;
3
5
  collectionName?: string;
4
6
  /**
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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,4 +1,6 @@
1
+ import type { AccessResponseDto } from '../schemas/AccessResponseDto';
1
2
  export interface TeamResponse {
3
+ accessResponse?: AccessResponseDto;
2
4
  /**
3
5
  * @format date-time
4
6
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -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.6",
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",