@harnessio/react-chaos-manager-client 1.41.0 → 1.43.0
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/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +8 -0
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.d.ts +37 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsCsvMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useListActionMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListGamedayMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListHubMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeMetadataQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/index.d.ts +6 -0
- package/dist/chaos-manager/src/services/index.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunProbe.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentWorkflowRevision.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogApmProbeInputs.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogApmProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,14 +6,22 @@ export interface GetAccountServiceDetailsQueryPathParams {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetAccountServiceDetailsQueryQueryParams {
|
|
8
8
|
/**
|
|
9
|
+
* @format int64
|
|
9
10
|
* @default 0
|
|
10
11
|
*/
|
|
11
12
|
page: number;
|
|
12
13
|
/**
|
|
14
|
+
* @format int64
|
|
13
15
|
* @default 10
|
|
14
16
|
*/
|
|
15
17
|
limit: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
16
21
|
startTime: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
17
25
|
endTime: number;
|
|
18
26
|
service?: string;
|
|
19
27
|
serviceType?: string;
|
|
@@ -6,7 +6,13 @@ export interface GetAccountServiceUsageStatsQueryPathParams {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetAccountServiceUsageStatsQueryQueryParams {
|
|
8
8
|
groupBy: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
9
12
|
startTime: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
10
16
|
endTime: number;
|
|
11
17
|
cumulative?: boolean;
|
|
12
18
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
3
|
+
export interface GetExperimentRunsCsvMutationPathParams {
|
|
4
|
+
experimentId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface GetExperimentRunsCsvMutationQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 15
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
organizationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page?: number;
|
|
18
|
+
projectIdentifier?: string;
|
|
19
|
+
search?: string;
|
|
20
|
+
sortAscending?: boolean;
|
|
21
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
22
|
+
}
|
|
23
|
+
export type GetExperimentRunsCsvOkResponse = unknown;
|
|
24
|
+
export type GetExperimentRunsCsvErrorResponse = unknown;
|
|
25
|
+
export interface GetExperimentRunsCsvProps extends GetExperimentRunsCsvMutationPathParams, Omit<FetcherOptions<GetExperimentRunsCsvMutationQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: GetExperimentRunsCsvMutationQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export interface GetExperimentRunsCsvResponseContainer {
|
|
29
|
+
body: GetExperimentRunsCsvOkResponse;
|
|
30
|
+
headers: Headers;
|
|
31
|
+
}
|
|
32
|
+
export declare function getExperimentRunsCsv(props: GetExperimentRunsCsvProps): Promise<GetExperimentRunsCsvResponseContainer>;
|
|
33
|
+
export type GetExperimentRunsCsvMutationProps<T extends keyof GetExperimentRunsCsvProps> = Omit<GetExperimentRunsCsvProps, T> & Partial<Pick<GetExperimentRunsCsvProps, T>>;
|
|
34
|
+
/**
|
|
35
|
+
* download experiment runs as CSV (no request body; only path + query params)
|
|
36
|
+
*/
|
|
37
|
+
export declare function useGetExperimentRunsCsvMutation<T extends keyof GetExperimentRunsCsvProps>(props: Pick<Partial<GetExperimentRunsCsvProps>, T>, options?: Omit<UseMutationOptions<GetExperimentRunsCsvResponseContainer, GetExperimentRunsCsvErrorResponse, GetExperimentRunsCsvMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetExperimentRunsCsvResponseContainer, unknown, GetExperimentRunsCsvMutationProps<T>, 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 '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getExperimentRunsCsv(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/chaos-experiment-runs/${props.experimentId}/csv`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* download experiment runs as CSV (no request body; only path + query params)
|
|
11
|
+
*/
|
|
12
|
+
export function useGetExperimentRunsCsvMutation(props, options) {
|
|
13
|
+
return useMutation((mutateProps) => getExperimentRunsCsv(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
+
}
|
|
@@ -24,7 +24,7 @@ export interface GetExperimentTemplateRevisionsQueryQueryParams {
|
|
|
24
24
|
projectIdentifier?: string;
|
|
25
25
|
search?: string;
|
|
26
26
|
sortAscending?: boolean;
|
|
27
|
-
sortField?: 'lastUpdated' | 'name';
|
|
27
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
28
28
|
tags?: string;
|
|
29
29
|
verbose?: boolean;
|
|
30
30
|
}
|
|
@@ -4,7 +4,13 @@ export interface GetExperimentationActivityReportQueryPathParams {
|
|
|
4
4
|
accountID: string;
|
|
5
5
|
}
|
|
6
6
|
export interface GetExperimentationActivityReportQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
7
10
|
startTime: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
8
14
|
endTime: number;
|
|
9
15
|
cumulate?: boolean;
|
|
10
16
|
}
|
|
@@ -11,10 +11,12 @@ export interface GetOnboardingExperimentsQueryQueryParams {
|
|
|
11
11
|
organizationIdentifier?: string;
|
|
12
12
|
projectIdentifier?: string;
|
|
13
13
|
/**
|
|
14
|
+
* @format int64
|
|
14
15
|
* @default 0
|
|
15
16
|
*/
|
|
16
17
|
page: number;
|
|
17
18
|
/**
|
|
19
|
+
* @format int64
|
|
18
20
|
* @default 5
|
|
19
21
|
*/
|
|
20
22
|
limit: number;
|
|
@@ -5,7 +5,13 @@ export interface GetOverallServiceUsageStatsQueryPathParams {
|
|
|
5
5
|
accountID: string;
|
|
6
6
|
}
|
|
7
7
|
export interface GetOverallServiceUsageStatsQueryQueryParams {
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
8
11
|
startTime: number;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
9
15
|
endTime: number;
|
|
10
16
|
}
|
|
11
17
|
export type GetOverallServiceUsageStatsOkResponse = ChaosserviceusageOverallServiceUsageStats;
|
|
@@ -4,7 +4,13 @@ export interface GetServiceUsageReportQueryPathParams {
|
|
|
4
4
|
accountID: string;
|
|
5
5
|
}
|
|
6
6
|
export interface GetServiceUsageReportQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
7
10
|
startTime: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
8
14
|
endTime: number;
|
|
9
15
|
cumulate?: boolean;
|
|
10
16
|
}
|
|
@@ -19,7 +19,7 @@ export interface ListActionMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListActionMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -11,10 +11,12 @@ export interface ListActionTemplateRevisionsQueryQueryParams {
|
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
13
|
/**
|
|
14
|
+
* @format int64
|
|
14
15
|
* @default 0
|
|
15
16
|
*/
|
|
16
17
|
page: number;
|
|
17
18
|
/**
|
|
19
|
+
* @format int64
|
|
18
20
|
* @default 15
|
|
19
21
|
*/
|
|
20
22
|
limit: number;
|
|
@@ -9,10 +9,12 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
|
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
environmentIdentifier?: string;
|
|
11
11
|
/**
|
|
12
|
+
* @format int64
|
|
12
13
|
* @default 0
|
|
13
14
|
*/
|
|
14
15
|
page: number;
|
|
15
16
|
/**
|
|
17
|
+
* @format int64
|
|
16
18
|
* @default 10
|
|
17
19
|
*/
|
|
18
20
|
limit: number;
|
|
@@ -18,7 +18,7 @@ export interface ListConditionQueryQueryParams {
|
|
|
18
18
|
projectIdentifier?: string;
|
|
19
19
|
search?: string;
|
|
20
20
|
sortAscending?: boolean;
|
|
21
|
-
sortField?: 'lastUpdated' | 'name';
|
|
21
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
22
22
|
tags?: string;
|
|
23
23
|
}
|
|
24
24
|
export type ListConditionOkResponse = ChaosguardconditionsListConditionResponse;
|
|
@@ -19,7 +19,7 @@ export interface ListExperimentMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListExperimentMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -22,7 +22,7 @@ export interface ListExperimentRunsOfFaultQueryQueryParams {
|
|
|
22
22
|
projectIdentifier?: string;
|
|
23
23
|
search?: string;
|
|
24
24
|
sortAscending?: boolean;
|
|
25
|
-
sortField?: 'lastUpdated' | 'name';
|
|
25
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
26
26
|
}
|
|
27
27
|
export type ListExperimentRunsOfFaultOkResponse = ChaosfaultListExperimentRunsInFaultResponse;
|
|
28
28
|
export type ListExperimentRunsOfFaultErrorResponse = ApiRestError;
|
|
@@ -21,7 +21,7 @@ export interface ListExperimentTemplateQueryQueryParams {
|
|
|
21
21
|
projectIdentifier?: string;
|
|
22
22
|
search?: string;
|
|
23
23
|
sortAscending?: boolean;
|
|
24
|
-
sortField?: 'lastUpdated' | 'name';
|
|
24
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
25
25
|
tags?: string;
|
|
26
26
|
verbose?: boolean;
|
|
27
27
|
}
|
|
@@ -19,7 +19,7 @@ export interface ListFaultMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListFaultMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -23,7 +23,7 @@ export interface ListFaultTemplateQueryQueryParams {
|
|
|
23
23
|
projectIdentifier?: string;
|
|
24
24
|
search?: string;
|
|
25
25
|
sortAscending?: boolean;
|
|
26
|
-
sortField?: 'lastUpdated' | 'name';
|
|
26
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
27
27
|
tags?: string;
|
|
28
28
|
type?: string;
|
|
29
29
|
}
|
|
@@ -21,7 +21,7 @@ export interface ListFaultv2QueryQueryParams {
|
|
|
21
21
|
projectIdentifier?: string;
|
|
22
22
|
search?: string;
|
|
23
23
|
sortAscending?: boolean;
|
|
24
|
-
sortField?: 'lastUpdated' | 'name';
|
|
24
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
25
25
|
tags?: string;
|
|
26
26
|
type?: string;
|
|
27
27
|
}
|
|
@@ -19,7 +19,7 @@ export interface ListGamedayMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListGamedayMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -19,7 +19,7 @@ export interface ListHubMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListHubMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -10,10 +10,12 @@ export interface ListInfraV2QueryQueryParams {
|
|
|
10
10
|
includeLegacyInfra?: boolean;
|
|
11
11
|
environmentIdentifier?: string;
|
|
12
12
|
/**
|
|
13
|
+
* @format int64
|
|
13
14
|
* @default 0
|
|
14
15
|
*/
|
|
15
16
|
page: number;
|
|
16
17
|
/**
|
|
18
|
+
* @format int64
|
|
17
19
|
* @default 10
|
|
18
20
|
*/
|
|
19
21
|
limit: number;
|
|
@@ -19,7 +19,7 @@ export interface ListProbeMetadataQueryQueryParams {
|
|
|
19
19
|
projectIdentifier?: string;
|
|
20
20
|
search?: string;
|
|
21
21
|
sortAscending?: boolean;
|
|
22
|
-
sortField?: 'lastUpdated' | 'name';
|
|
22
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
23
23
|
tags?: string;
|
|
24
24
|
}
|
|
25
25
|
export type ListProbeMetadataRequestBody = TypesListMetadataRequest;
|
|
@@ -18,7 +18,7 @@ export interface ListRuleQueryQueryParams {
|
|
|
18
18
|
projectIdentifier?: string;
|
|
19
19
|
search?: string;
|
|
20
20
|
sortAscending?: boolean;
|
|
21
|
-
sortField?: 'lastUpdated' | 'name';
|
|
21
|
+
sortField?: 'experimentName' | 'lastUpdated' | 'name';
|
|
22
22
|
tags?: string;
|
|
23
23
|
}
|
|
24
24
|
export type ListRuleOkResponse = ChaosguardrulesListRuleResponse;
|
|
@@ -8,10 +8,12 @@ export interface ListTargetNetworkMapsQueryQueryParams {
|
|
|
8
8
|
organizationIdentifier: string;
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
/**
|
|
11
|
+
* @format int64
|
|
11
12
|
* @default 0
|
|
12
13
|
*/
|
|
13
14
|
page: number;
|
|
14
15
|
/**
|
|
16
|
+
* @format int64
|
|
15
17
|
* @default 10
|
|
16
18
|
*/
|
|
17
19
|
limit: number;
|
|
@@ -4,10 +4,12 @@ import type { ApiRestError } from '../schemas/ApiRestError';
|
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListV2OnboardingQueryQueryParams {
|
|
6
6
|
/**
|
|
7
|
+
* @format int64
|
|
7
8
|
* @default 0
|
|
8
9
|
*/
|
|
9
10
|
page: number;
|
|
10
11
|
/**
|
|
12
|
+
* @format int64
|
|
11
13
|
* @default 10
|
|
12
14
|
*/
|
|
13
15
|
limit: number;
|
|
@@ -134,6 +134,8 @@ export type { GetExperimentHelperImageVersionErrorResponse, GetExperimentHelperI
|
|
|
134
134
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
135
135
|
export type { GetExperimentRunTimelineViewErrorResponse, GetExperimentRunTimelineViewOkResponse, GetExperimentRunTimelineViewProps, GetExperimentRunTimelineViewQueryPathParams, GetExperimentRunTimelineViewQueryQueryParams, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
136
136
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
137
|
+
export type { GetExperimentRunsCsvErrorResponse, GetExperimentRunsCsvMutationPathParams, GetExperimentRunsCsvMutationProps, GetExperimentRunsCsvMutationQueryParams, GetExperimentRunsCsvOkResponse, GetExperimentRunsCsvProps, } from './hooks/useGetExperimentRunsCsvMutation';
|
|
138
|
+
export { getExperimentRunsCsv, useGetExperimentRunsCsvMutation, } from './hooks/useGetExperimentRunsCsvMutation';
|
|
137
139
|
export type { GetExperimentRunsOverviewStatsErrorResponse, GetExperimentRunsOverviewStatsOkResponse, GetExperimentRunsOverviewStatsProps, GetExperimentRunsOverviewStatsQueryQueryParams, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
138
140
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
139
141
|
export type { GetExperimentTemplateErrorResponse, GetExperimentTemplateOkResponse, GetExperimentTemplateProps, GetExperimentTemplateQueryPathParams, GetExperimentTemplateQueryQueryParams, } from './hooks/useGetExperimentTemplateQuery';
|
|
@@ -448,6 +450,7 @@ export type { ChaosExperimentRunChaosExperimentRun } from './schemas/ChaosExperi
|
|
|
448
450
|
export type { ChaosExperimentRunConditionDetails } from './schemas/ChaosExperimentRunConditionDetails';
|
|
449
451
|
export type { ChaosExperimentRunExperimentType } from './schemas/ChaosExperimentRunExperimentType';
|
|
450
452
|
export type { ChaosExperimentRunFaults } from './schemas/ChaosExperimentRunFaults';
|
|
453
|
+
export type { ChaosExperimentRunProbe } from './schemas/ChaosExperimentRunProbe';
|
|
451
454
|
export type { ChaosExperimentRunRuleDetails } from './schemas/ChaosExperimentRunRuleDetails';
|
|
452
455
|
export type { ChaosExperimentRunSecurityGovernanceNode } from './schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
453
456
|
export type { ChaosExperimentRunSecurityGovernanceNodeData } from './schemas/ChaosExperimentRunSecurityGovernanceNodeData';
|
|
@@ -673,6 +676,7 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsActio
|
|
|
673
676
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate';
|
|
674
677
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
|
|
675
678
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
|
|
679
|
+
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs';
|
|
676
680
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType';
|
|
677
681
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
|
|
678
682
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
|
|
@@ -710,6 +714,7 @@ export type { GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest } from '.
|
|
|
710
714
|
export type { GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig } from './schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1TlsConfig';
|
|
711
715
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
|
|
712
716
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics';
|
|
717
|
+
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs';
|
|
713
718
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType';
|
|
714
719
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
|
|
715
720
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv';
|
|
@@ -1067,6 +1072,7 @@ export type { V1ConfigMapProjection } from './schemas/V1ConfigMapProjection';
|
|
|
1067
1072
|
export type { V1ConfigMapVolumeSource } from './schemas/V1ConfigMapVolumeSource';
|
|
1068
1073
|
export type { V1ContainerProbeInputs } from './schemas/V1ContainerProbeInputs';
|
|
1069
1074
|
export type { V1CsiVolumeSource } from './schemas/V1CsiVolumeSource';
|
|
1075
|
+
export type { V1DatadogApmProbeInputs } from './schemas/V1DatadogApmProbeInputs';
|
|
1070
1076
|
export type { V1DatadogMetrics } from './schemas/V1DatadogMetrics';
|
|
1071
1077
|
export type { V1DownwardApiProjection } from './schemas/V1DownwardApiProjection';
|
|
1072
1078
|
export type { V1DownwardApiVolumeFile } from './schemas/V1DownwardApiVolumeFile';
|
|
@@ -66,6 +66,7 @@ export { getCondition, useGetConditionQuery } from './hooks/useGetConditionQuery
|
|
|
66
66
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
67
67
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
68
68
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
69
|
+
export { getExperimentRunsCsv, useGetExperimentRunsCsvMutation, } from './hooks/useGetExperimentRunsCsvMutation';
|
|
69
70
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
70
71
|
export { getExperimentTemplate, useGetExperimentTemplateQuery, } from './hooks/useGetExperimentTemplateQuery';
|
|
71
72
|
export { getExperimentTemplateRevisions, useGetExperimentTemplateRevisionsQuery, } from './hooks/useGetExperimentTemplateRevisionsQuery';
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
|
|
1
2
|
import type { ChaosExperimentRunExperimentType } from '../schemas/ChaosExperimentRunExperimentType';
|
|
2
3
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
4
|
+
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
3
5
|
import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
|
|
4
6
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
5
7
|
import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
|
|
6
8
|
export interface ChaosExperimentRunChaosExperimentRun {
|
|
7
9
|
accountID: string;
|
|
10
|
+
actions?: ChaosExperimentRunAction[];
|
|
8
11
|
completed?: boolean;
|
|
9
12
|
createdAt?: number;
|
|
10
13
|
createdBy?: string;
|
|
@@ -29,6 +32,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
|
|
|
29
32
|
notifyID?: string;
|
|
30
33
|
orgID?: string;
|
|
31
34
|
phase?: string;
|
|
35
|
+
probes?: ChaosExperimentRunProbe[];
|
|
32
36
|
projectID?: string;
|
|
33
37
|
resiliencyScore?: number;
|
|
34
38
|
revisionID?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ChaosExperimentRunAction } from '../schemas/ChaosExperimentRunAction';
|
|
2
2
|
import type { ChaosExperimentFaultEventMetadata } from '../schemas/ChaosExperimentFaultEventMetadata';
|
|
3
3
|
import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
|
|
4
|
+
import type { ChaosExperimentRunProbe } from '../schemas/ChaosExperimentRunProbe';
|
|
4
5
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
5
6
|
import type { ChaosExperimentWeightagesInput } from '../schemas/ChaosExperimentWeightagesInput';
|
|
6
7
|
export interface ChaosExperimentWorkflowRevision {
|
|
@@ -8,6 +9,7 @@ export interface ChaosExperimentWorkflowRevision {
|
|
|
8
9
|
chaosFaultEvents?: ChaosExperimentFaultEventMetadata[];
|
|
9
10
|
experimentManifest?: string;
|
|
10
11
|
faultsWithProbes?: ChaosExperimentRunFaults[];
|
|
12
|
+
probes?: ChaosExperimentRunProbe[];
|
|
11
13
|
revisionID?: string;
|
|
12
14
|
targetedServices?: TargetserviceServiceMetadata[];
|
|
13
15
|
updatedAt?: number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
|
|
2
|
+
export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs {
|
|
3
|
+
connectorID?: string;
|
|
4
|
+
durationInMin?: {};
|
|
5
|
+
query?: string;
|
|
6
|
+
syntheticsTest?: ProbeSyntheticsTest;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -14,7 +14,7 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs
|
|
|
14
14
|
*/
|
|
15
15
|
endpoint?: string;
|
|
16
16
|
/**
|
|
17
|
-
* Raw
|
|
17
|
+
* Raw metrics details of the Dynatrace probe
|
|
18
18
|
*/
|
|
19
19
|
metrics?: GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics;
|
|
20
20
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ProbeSyntheticsTestTemplate } from '../schemas/ProbeSyntheticsTestTemplate';
|
|
2
|
+
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs {
|
|
3
|
+
connectorID?: string;
|
|
4
|
+
durationInMin?: {};
|
|
5
|
+
query?: string;
|
|
6
|
+
syntheticsTest?: ProbeSyntheticsTestTemplate;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
|
|
2
2
|
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
3
|
+
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs';
|
|
3
4
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs';
|
|
5
6
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs';
|
|
@@ -9,6 +10,7 @@ export interface ProbeApmProbe {
|
|
|
9
10
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
|
|
10
11
|
attempt?: {};
|
|
11
12
|
comparator?: ProbeComparator;
|
|
13
|
+
datadogApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogApmProbeInputs;
|
|
12
14
|
dynatraceApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs;
|
|
13
15
|
gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs;
|
|
14
16
|
initialDelay?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
|
|
2
2
|
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
3
|
+
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs';
|
|
3
4
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs';
|
|
5
6
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs';
|
|
@@ -9,6 +10,7 @@ import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
|
|
|
9
10
|
export interface ProbeApmProbeTemplate {
|
|
10
11
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
|
|
11
12
|
comparator?: ProbeComparatorTemplate;
|
|
13
|
+
datadogApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogApmProbeInputs;
|
|
12
14
|
dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
|
|
13
15
|
gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs;
|
|
14
16
|
newRelicProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ProbeApmProbeType = 'AppDynamics' | 'Dynatrace' | 'Prometheus' | 'SplunkObservability';
|
|
1
|
+
export type ProbeApmProbeType = 'AppDynamics' | 'Datadog' | 'Dynatrace' | 'GcpCloudMonitoring' | 'NewRelic' | 'Prometheus' | 'SplunkObservability';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
|
|
2
2
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
|
|
3
|
+
import type { V1DatadogApmProbeInputs } from '../schemas/V1DatadogApmProbeInputs';
|
|
3
4
|
import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
|
|
4
5
|
import type { V1GcpCloudMonitoringInputs } from '../schemas/V1GcpCloudMonitoringInputs';
|
|
5
6
|
import type { V1NewRelicInputs } from '../schemas/V1NewRelicInputs';
|
|
@@ -14,6 +15,10 @@ export interface V1ApmProbeInputs {
|
|
|
14
15
|
* Comparator check for the correctness of the probe output
|
|
15
16
|
*/
|
|
16
17
|
comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
|
|
18
|
+
/**
|
|
19
|
+
* DatadogApmInputs contains the inputs required for Datadog probe
|
|
20
|
+
*/
|
|
21
|
+
datadogApmProbeInputs?: V1DatadogApmProbeInputs;
|
|
17
22
|
/**
|
|
18
23
|
* DynatraceApmProbeInputs contains the inputs required for Dynatrace probe
|
|
19
24
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest';
|
|
2
|
+
export interface V1DatadogApmProbeInputs {
|
|
3
|
+
/**
|
|
4
|
+
* DurationInMin contains the duration in minutes
|
|
5
|
+
*/
|
|
6
|
+
durationInMin?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Endpoint for the Datadog probe
|
|
9
|
+
*/
|
|
10
|
+
endpoint?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Raw metrics details of the Datadog probe
|
|
13
|
+
*/
|
|
14
|
+
query?: string;
|
|
15
|
+
/**
|
|
16
|
+
* synthetics test parameters
|
|
17
|
+
*/
|
|
18
|
+
syntheticsTest?: GithubComHarnessHceSaasHceSdkCommonProbeV1SyntheticsTest;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED