@harnessio/react-idp-service-client 0.96.2 → 0.96.3

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.
@@ -5,16 +5,12 @@ import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
5
5
  export interface GetKindQueryPathParams {
6
6
  identifier: string;
7
7
  }
8
- export interface GetKindQueryQueryParams {
9
- custom?: boolean;
10
- }
11
8
  export interface GetKindQueryHeaderParams {
12
9
  'Harness-Account'?: string;
13
10
  }
14
11
  export type GetKindOkResponse = ResponseWithPagination<KindResponseBodyResponse>;
15
12
  export type GetKindErrorResponse = unknown;
16
- export interface GetKindProps extends GetKindQueryPathParams, Omit<FetcherOptions<GetKindQueryQueryParams, unknown, GetKindQueryHeaderParams>, 'url'> {
17
- queryParams: GetKindQueryQueryParams;
13
+ export interface GetKindProps extends GetKindQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetKindQueryHeaderParams>, 'url'> {
18
14
  }
19
15
  export declare function getKind(props: GetKindProps): Promise<GetKindOkResponse>;
20
16
  /**
@@ -10,5 +10,5 @@ export function getKind(props) {
10
10
  * Get Kind.
11
11
  */
12
12
  export function useGetKindQuery(props, options) {
13
- return useQuery(['get-kind', props.identifier, props.queryParams], ({ signal }) => getKind(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['get-kind', props.identifier], ({ signal }) => getKind(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -10,7 +10,6 @@ export interface GetKindsQueryQueryParams {
10
10
  limit?: number;
11
11
  sort?: string;
12
12
  search_term?: string;
13
- custom?: boolean;
14
13
  }
15
14
  export interface GetKindsQueryHeaderParams {
16
15
  'Harness-Account'?: string;
@@ -153,7 +153,7 @@ export type { GetIntegrationsErrorResponse, GetIntegrationsOkResponse, GetIntegr
153
153
  export { getIntegrations, useGetIntegrationsQuery } from './hooks/useGetIntegrationsQuery';
154
154
  export type { GetJsonSchemaErrorResponse, GetJsonSchemaOkResponse, GetJsonSchemaProps, GetJsonSchemaQueryQueryParams, } from './hooks/useGetJsonSchemaQuery';
155
155
  export { getJsonSchema, useGetJsonSchemaQuery } from './hooks/useGetJsonSchemaQuery';
156
- export type { GetKindErrorResponse, GetKindOkResponse, GetKindProps, GetKindQueryPathParams, GetKindQueryQueryParams, } from './hooks/useGetKindQuery';
156
+ export type { GetKindErrorResponse, GetKindOkResponse, GetKindProps, GetKindQueryPathParams, } from './hooks/useGetKindQuery';
157
157
  export { getKind, useGetKindQuery } from './hooks/useGetKindQuery';
158
158
  export type { GetKindSchemaErrorResponse, GetKindSchemaOkResponse, GetKindSchemaProps, } from './hooks/useGetKindSchemaQuery';
159
159
  export { getKindSchema, useGetKindSchemaQuery } from './hooks/useGetKindSchemaQuery';
@@ -389,6 +389,7 @@ export type { AggregationRuleResponse } from './schemas/AggregationRuleResponse'
389
389
  export type { AggregationScopeLevel } from './schemas/AggregationScopeLevel';
390
390
  export type { AggregationSelectionReviewRequest } from './schemas/AggregationSelectionReviewRequest';
391
391
  export type { AggregationSelectionReviewResponse } from './schemas/AggregationSelectionReviewResponse';
392
+ export type { AggregationType } from './schemas/AggregationType';
392
393
  export type { AllowListRequest } from './schemas/AllowListRequest';
393
394
  export type { AllowListResponse } from './schemas/AllowListResponse';
394
395
  export type { AppConfig } from './schemas/AppConfig';
@@ -1,8 +1,10 @@
1
1
  import type { AggFormula } from '../schemas/AggFormula';
2
+ import type { AggregationType } from '../schemas/AggregationType';
2
3
  import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
3
4
  import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
4
5
  export interface AggregationRule {
5
6
  agg_formula: AggFormula;
7
+ aggregation_type: AggregationType;
6
8
  description?: string;
7
9
  field_for_agg: string;
8
10
  identifier: string;
@@ -1,9 +1,11 @@
1
1
  import type { AggFormula } from '../schemas/AggFormula';
2
+ import type { AggregationType } from '../schemas/AggregationType';
2
3
  import type { AggregationEntitySelectionCriteria } from '../schemas/AggregationEntitySelectionCriteria';
3
4
  import type { AggregationComputeStatus } from '../schemas/AggregationComputeStatus';
4
5
  import type { AggregationScopeLevel } from '../schemas/AggregationScopeLevel';
5
6
  export interface AggregationRuleDetails {
6
7
  agg_formula: AggFormula;
8
+ aggregation_type: AggregationType;
7
9
  description?: string;
8
10
  entity_selection_criteria?: AggregationEntitySelectionCriteria;
9
11
  /**
@@ -0,0 +1,2 @@
1
+ export interface AggregationType {
2
+ }
@@ -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 {};
@@ -2,7 +2,6 @@
2
2
  * Kind Response Body
3
3
  */
4
4
  export interface KindResponseBody {
5
- custom?: boolean;
6
5
  description?: string;
7
6
  icon?: string;
8
7
  identifier: string;
@@ -4,6 +4,7 @@ export interface SaveDiscoverEntitiesRequest {
4
4
  integration_entities: Array<{
5
5
  action?: 'MERGE' | 'REGISTER';
6
6
  action_destination?: string;
7
+ action_identifier?: string;
7
8
  integration_entity_id?: string;
8
9
  type?: string;
9
10
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-idp-service-client",
3
- "version": "0.96.2",
3
+ "version": "0.96.3",
4
4
  "description": "Harness React idp service client - IDP APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",