@harnessio/react-chaos-manager-client 1.17.0 → 1.18.1-beta.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.
Files changed (38) hide show
  1. package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +40 -0
  2. package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
  4. package/dist/chaos-manager/src/services/index.d.ts +9 -0
  5. package/dist/chaos-manager/src/services/index.js +1 -0
  6. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +1 -0
  7. package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +1 -0
  8. package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +1 -0
  9. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +7 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +3 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +3 -0
  12. package/dist/chaos-manager/src/services/schemas/ChaosfaultExperimentRunOfFault.d.ts +22 -0
  13. package/dist/chaos-manager/src/services/schemas/ChaosfaultExperimentRunOfFault.js +1 -0
  14. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +3 -0
  15. package/dist/chaos-manager/src/services/schemas/ChaosfaultLink.d.ts +4 -0
  16. package/dist/chaos-manager/src/services/schemas/ChaosfaultLink.js +4 -0
  17. package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.d.ts +7 -0
  18. package/dist/chaos-manager/src/services/schemas/ChaosfaultListExperimentRunsInFaultResponse.js +1 -0
  19. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +3 -0
  20. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +3 -0
  21. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +7 -0
  22. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +5 -0
  23. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +5 -0
  24. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateLink.d.ts +4 -0
  25. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateLink.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +5 -0
  27. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +1 -0
  28. package/dist/chaos-manager/src/services/schemas/FaultLink.d.ts +4 -0
  29. package/dist/chaos-manager/src/services/schemas/FaultLink.js +4 -0
  30. package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosKubernetesSpec.d.ts +1 -1
  31. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +5 -0
  32. package/dist/chaos-manager/src/services/schemas/FaulttemplateLink.d.ts +4 -0
  33. package/dist/chaos-manager/src/services/schemas/FaulttemplateLink.js +4 -0
  34. package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.d.ts +14 -0
  35. package/dist/chaos-manager/src/services/schemas/ProbeWindowsCmdProbe.js +1 -0
  36. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
  37. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
  38. package/package.json +1 -1
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChaosfaultListExperimentRunsInFaultResponse } from '../schemas/ChaosfaultListExperimentRunsInFaultResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface ListExperimentRunsOfFaultQueryPathParams {
6
+ identity: string;
7
+ }
8
+ export interface ListExperimentRunsOfFaultQueryQueryParams {
9
+ accountIdentifier: string;
10
+ correlationID?: string;
11
+ experimentType?: 'cronexperiment' | 'experiment' | 'experiment_v2';
12
+ isEnterprise?: boolean;
13
+ /**
14
+ * @default 10
15
+ */
16
+ limit?: number;
17
+ organizationIdentifier?: string;
18
+ /**
19
+ * @default 0
20
+ */
21
+ page?: number;
22
+ projectIdentifier?: string;
23
+ search?: string;
24
+ sortAscending?: boolean;
25
+ sortField?: 'lastUpdated' | 'name';
26
+ }
27
+ export type ListExperimentRunsOfFaultOkResponse = ChaosfaultListExperimentRunsInFaultResponse;
28
+ export type ListExperimentRunsOfFaultErrorResponse = ApiRestError;
29
+ export interface ListExperimentRunsOfFaultProps extends ListExperimentRunsOfFaultQueryPathParams, Omit<FetcherOptions<ListExperimentRunsOfFaultQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: ListExperimentRunsOfFaultQueryQueryParams;
31
+ }
32
+ export interface ListExperimentRunsOfFaultResponseContainer {
33
+ body: ListExperimentRunsOfFaultOkResponse;
34
+ headers: Headers;
35
+ }
36
+ export declare function listExperimentRunsOfFault(props: ListExperimentRunsOfFaultProps): Promise<ListExperimentRunsOfFaultResponseContainer>;
37
+ /**
38
+ * Lists experiment runs of a fault in a project
39
+ */
40
+ export declare function useListExperimentRunsOfFaultQuery(props: ListExperimentRunsOfFaultProps, options?: Omit<UseQueryOptions<ListExperimentRunsOfFaultResponseContainer, ListExperimentRunsOfFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentRunsOfFaultResponseContainer, ApiRestError>;
@@ -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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function listExperimentRunsOfFault(props) {
7
+ return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/experimentruns`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists experiment runs of a fault in a project
11
+ */
12
+ export function useListExperimentRunsOfFaultQuery(props, options) {
13
+ return useQuery(['listExperimentRunsOfFault', props.identity, props.queryParams], ({ signal }) => listExperimentRunsOfFault(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -4,7 +4,7 @@ import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ListFaultv2QueryQueryParams {
6
6
  accountIdentifier: string;
7
- category?: 'AWS' | 'Azure' | 'GCP' | 'Kubernetes' | 'Redis';
7
+ category?: string;
8
8
  correlationID?: string;
9
9
  infrastructureType?: 'KubernetesV2';
10
10
  isEnterprise?: boolean;
@@ -180,6 +180,8 @@ export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubPro
180
180
  export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
181
181
  export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
182
182
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
183
+ export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultOkResponse, ListExperimentRunsOfFaultProps, ListExperimentRunsOfFaultQueryPathParams, ListExperimentRunsOfFaultQueryQueryParams, } from './hooks/useListExperimentRunsOfFaultQuery';
184
+ export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
183
185
  export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
184
186
  export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
185
187
  export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
@@ -355,9 +357,12 @@ export type { ChaosexperimentpipelineReferenceEntities } from './schemas/Chaosex
355
357
  export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
356
358
  export type { ChaosfaultCreateFaultRequest } from './schemas/ChaosfaultCreateFaultRequest';
357
359
  export type { ChaosfaultCreateFaultResponse } from './schemas/ChaosfaultCreateFaultResponse';
360
+ export type { ChaosfaultExperimentRunOfFault } from './schemas/ChaosfaultExperimentRunOfFault';
358
361
  export type { ChaosfaultFaultVariables } from './schemas/ChaosfaultFaultVariables';
359
362
  export type { ChaosfaultFaultYaml } from './schemas/ChaosfaultFaultYaml';
360
363
  export type { ChaosfaultGetFaultResponse } from './schemas/ChaosfaultGetFaultResponse';
364
+ export type { ChaosfaultLink } from './schemas/ChaosfaultLink';
365
+ export type { ChaosfaultListExperimentRunsInFaultResponse } from './schemas/ChaosfaultListExperimentRunsInFaultResponse';
361
366
  export type { ChaosfaultListFaultResponse } from './schemas/ChaosfaultListFaultResponse';
362
367
  export type { ChaosfaultUpdateFaultRequest } from './schemas/ChaosfaultUpdateFaultRequest';
363
368
  export type { ChaosfaultUpdateFaultResponse } from './schemas/ChaosfaultUpdateFaultResponse';
@@ -371,6 +376,7 @@ export type { ChaosfaulttemplateFaultTemplateVariables } from './schemas/Chaosfa
371
376
  export type { ChaosfaulttemplateFaultTemplateYaml } from './schemas/ChaosfaulttemplateFaultTemplateYaml';
372
377
  export type { ChaosfaulttemplateGetActionTemplateResponse } from './schemas/ChaosfaulttemplateGetActionTemplateResponse';
373
378
  export type { ChaosfaulttemplateGetFaultTemplateResponse } from './schemas/ChaosfaulttemplateGetFaultTemplateResponse';
379
+ export type { ChaosfaulttemplateLink } from './schemas/ChaosfaulttemplateLink';
374
380
  export type { ChaosfaulttemplateListActionTemplateResponse } from './schemas/ChaosfaulttemplateListActionTemplateResponse';
375
381
  export type { ChaosfaulttemplateListFaultTemplateResponse } from './schemas/ChaosfaulttemplateListFaultTemplateResponse';
376
382
  export type { ChaosfaulttemplateUpdateFaultTemplateResponse } from './schemas/ChaosfaulttemplateUpdateFaultTemplateResponse';
@@ -459,6 +465,7 @@ export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusChe
459
465
  export type { ExperimentTargets } from './schemas/ExperimentTargets';
460
466
  export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
461
467
  export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
468
+ export type { FaultLink } from './schemas/FaultLink';
462
469
  export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
463
470
  export type { FaulttemplateChaosKubernetesSpec } from './schemas/FaulttemplateChaosKubernetesSpec';
464
471
  export type { FaulttemplateChaosParameter } from './schemas/FaulttemplateChaosParameter';
@@ -467,6 +474,7 @@ export type { FaulttemplateConfigMapVolume } from './schemas/FaulttemplateConfig
467
474
  export type { FaulttemplateFaultTemplate } from './schemas/FaulttemplateFaultTemplate';
468
475
  export type { FaulttemplateHostPathVolume } from './schemas/FaulttemplateHostPathVolume';
469
476
  export type { FaulttemplateKubernetesTarget } from './schemas/FaulttemplateKubernetesTarget';
477
+ export type { FaulttemplateLink } from './schemas/FaulttemplateLink';
470
478
  export type { FaulttemplateResourceRequirements } from './schemas/FaulttemplateResourceRequirements';
471
479
  export type { FaulttemplateSecretVolume } from './schemas/FaulttemplateSecretVolume';
472
480
  export type { FaulttemplateSpec } from './schemas/FaulttemplateSpec';
@@ -681,6 +689,7 @@ export type { ProbeSyntheticsTestTemplate } from './schemas/ProbeSyntheticsTestT
681
689
  export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
682
690
  export type { ProbeTlsConfigSm } from './schemas/ProbeTlsConfigSm';
683
691
  export type { ProbeTlsConfigTemplate } from './schemas/ProbeTlsConfigTemplate';
692
+ export type { ProbeWindowsCmdProbe } from './schemas/ProbeWindowsCmdProbe';
684
693
  export type { RecommendationConfigScannerEvents } from './schemas/RecommendationConfigScannerEvents';
685
694
  export type { RecommendationEventRequest } from './schemas/RecommendationEventRequest';
686
695
  export type { RecommendationFailure } from './schemas/RecommendationFailure';
@@ -89,6 +89,7 @@ export { listApplication, useListApplicationQuery } from './hooks/useListApplica
89
89
  export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
90
90
  export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
91
91
  export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
92
+ export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
92
93
  export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
93
94
  export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
94
95
  export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
@@ -11,6 +11,7 @@ export interface ChaosExecutionNodesChaosExecutionNode {
11
11
  experimentID?: string;
12
12
  experimentRunID?: string;
13
13
  finishedAt?: number;
14
+ infraID?: string;
14
15
  isRemoved?: boolean;
15
16
  lastUpdatedAt?: number;
16
17
  orgID?: string;
@@ -12,6 +12,7 @@ export interface ChaosExperimentChaosExperimentRequest {
12
12
  description?: string;
13
13
  experimentID?: string;
14
14
  experimentType?: ChaosExperimentChaosExperimentType;
15
+ faultIDs?: string[];
15
16
  /**
16
17
  * identity field is a human-readable ID
17
18
  */
@@ -14,6 +14,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
14
14
  experimentRunID?: string;
15
15
  experimentType?: ChaosExperimentRunExperimentType;
16
16
  experimentYaml?: string;
17
+ faultIDs?: string[];
17
18
  faultsAwaited?: number;
18
19
  faultsFailed?: number;
19
20
  faultsNA?: number;
@@ -1,10 +1,14 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
+ import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
1
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
2
4
  export interface ChaosfaultChaosFault {
3
5
  accountID: string;
4
6
  category?: string[];
5
7
  createdAt?: number;
6
8
  createdBy?: string;
9
+ createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
7
10
  description?: string;
11
+ experimentRunsCount?: number;
8
12
  /**
9
13
  * Mongo ID (primary key)
10
14
  */
@@ -17,13 +21,16 @@ export interface ChaosfaultChaosFault {
17
21
  infras?: string[];
18
22
  isEnterprise?: boolean;
19
23
  isRemoved: boolean;
24
+ links?: ChaosfaultLink[];
20
25
  name: string;
21
26
  orgID?: string;
27
+ permissionsRequired?: string;
22
28
  projectID?: string;
23
29
  tags?: string[];
24
30
  template?: string;
25
31
  type?: string;
26
32
  updatedAt?: number;
27
33
  updatedBy?: string;
34
+ updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
28
35
  variables?: TemplateVariable[];
29
36
  }
@@ -1,3 +1,4 @@
1
+ import type { FaultLink } from '../schemas/FaultLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -7,7 +8,9 @@ export interface ChaosfaultCreateFaultRequest {
7
8
  identity?: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
11
+ links?: FaultLink[];
10
12
  name?: string;
13
+ permissionsRequired?: string;
11
14
  spec?: FaulttemplateSpec;
12
15
  tags?: string[];
13
16
  templateReference?: string;
@@ -1,3 +1,4 @@
1
+ import type { FaultLink } from '../schemas/FaultLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -8,7 +9,9 @@ export interface ChaosfaultCreateFaultResponse {
8
9
  identity?: string;
9
10
  infraType?: string;
10
11
  infras?: string[];
12
+ links?: FaultLink[];
11
13
  name?: string;
14
+ permissionsRequired?: string;
12
15
  spec?: FaulttemplateSpec;
13
16
  tags?: string[];
14
17
  templateReference?: string;
@@ -0,0 +1,22 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
+ import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
3
+ export interface ChaosfaultExperimentRunOfFault {
4
+ accountID: string;
5
+ completed?: boolean;
6
+ createdAt?: number;
7
+ createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
8
+ experimentID?: string;
9
+ experimentName?: string;
10
+ experimentRunID?: string;
11
+ faultIDs?: string[];
12
+ infraID?: string;
13
+ notifyID?: string;
14
+ orgID?: string;
15
+ phase?: string;
16
+ projectID?: string;
17
+ resiliencyScore?: number;
18
+ runSequence?: number;
19
+ targetedServices?: TargetserviceServiceMetadata[];
20
+ updatedAt?: number;
21
+ updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
22
+ }
@@ -1,3 +1,4 @@
1
+ import type { FaultLink } from '../schemas/FaultLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -9,7 +10,9 @@ export interface ChaosfaultGetFaultResponse {
9
10
  infraType?: string;
10
11
  infras?: string[];
11
12
  isEnterprise?: boolean;
13
+ links?: FaultLink[];
12
14
  name?: string;
15
+ permissionsRequired?: string;
13
16
  spec?: FaulttemplateSpec;
14
17
  tags?: string[];
15
18
  templateReference?: string;
@@ -0,0 +1,4 @@
1
+ export interface ChaosfaultLink {
2
+ name?: string;
3
+ url?: string;
4
+ }
@@ -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 {};
@@ -0,0 +1,7 @@
1
+ import type { ChaosfaultExperimentRunOfFault } from '../schemas/ChaosfaultExperimentRunOfFault';
2
+ import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
3
+ export interface ChaosfaultListExperimentRunsInFaultResponse {
4
+ correlationID?: string;
5
+ data?: ChaosfaultExperimentRunOfFault[];
6
+ pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
7
+ }
@@ -1,3 +1,4 @@
1
+ import type { FaultLink } from '../schemas/FaultLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -7,7 +8,9 @@ export interface ChaosfaultUpdateFaultRequest {
7
8
  identity?: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
11
+ links?: FaultLink[];
10
12
  name?: string;
13
+ permissionsRequired?: string;
11
14
  spec?: FaulttemplateSpec;
12
15
  tags?: string[];
13
16
  templateReference?: string;
@@ -1,3 +1,4 @@
1
+ import type { FaultLink } from '../schemas/FaultLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
@@ -8,7 +9,9 @@ export interface ChaosfaultUpdateFaultResponse {
8
9
  identity?: string;
9
10
  infraType?: string;
10
11
  infras?: string[];
12
+ links?: FaultLink[];
11
13
  name?: string;
14
+ permissionsRequired?: string;
12
15
  spec?: FaulttemplateSpec;
13
16
  tags?: string[];
14
17
  templateReference?: string;
@@ -1,6 +1,8 @@
1
+ import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
1
2
  import type { TemplateVariable } from '../schemas/TemplateVariable';
2
3
  export interface ChaosfaulttemplateChaosFaultTemplate {
3
4
  accountID: string;
5
+ category?: string[];
4
6
  createdAt?: number;
5
7
  createdBy?: string;
6
8
  description?: string;
@@ -16,14 +18,19 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
16
18
  * Unique identifier (human-readable) immutable
17
19
  */
18
20
  identity?: string;
21
+ infraType?: string;
22
+ infras?: string[];
19
23
  isDefault?: boolean;
20
24
  isRemoved: boolean;
25
+ links?: ChaosfaulttemplateLink[];
21
26
  name: string;
22
27
  orgID?: string;
28
+ permissionsRequired?: string;
23
29
  projectID?: string;
24
30
  revision?: string;
25
31
  tags?: string[];
26
32
  template?: string;
33
+ type?: string;
27
34
  updatedAt?: number;
28
35
  updatedBy?: string;
29
36
  variables?: TemplateVariable[];
@@ -1,16 +1,21 @@
1
+ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
5
+ category?: string[];
4
6
  description?: string;
5
7
  identity?: string;
6
8
  infraType?: string;
7
9
  infras?: string[];
8
10
  isDefault?: boolean;
9
11
  keywords?: string[];
12
+ links?: FaulttemplateLink[];
10
13
  name?: string;
14
+ permissionsRequired?: string;
11
15
  platforms?: string[];
12
16
  revision?: string;
13
17
  spec?: FaulttemplateSpec;
14
18
  tags?: string[];
19
+ type?: string;
15
20
  variables?: TemplateVariable[];
16
21
  }
@@ -1,6 +1,8 @@
1
+ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
+ category?: string[];
4
6
  correlationID?: string;
5
7
  description?: string;
6
8
  hubIdentity?: string;
@@ -9,10 +11,13 @@ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
9
11
  infras?: string[];
10
12
  isDefault?: boolean;
11
13
  keywords?: string[];
14
+ links?: FaulttemplateLink[];
12
15
  name?: string;
16
+ permissionsRequired?: string;
13
17
  platforms?: string[];
14
18
  revision?: string;
15
19
  spec?: FaulttemplateSpec;
16
20
  tags?: string[];
21
+ type?: string;
17
22
  variables?: TemplateVariable[];
18
23
  }
@@ -0,0 +1,4 @@
1
+ export interface ChaosfaulttemplateLink {
2
+ name?: string;
3
+ url?: string;
4
+ }
@@ -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,6 +1,8 @@
1
+ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
+ category?: string[];
4
6
  correlationID?: string;
5
7
  description?: string;
6
8
  hubIdentity?: string;
@@ -9,10 +11,13 @@ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
9
11
  infras?: string[];
10
12
  isDefault?: boolean;
11
13
  keywords?: string[];
14
+ links?: FaulttemplateLink[];
12
15
  name?: string;
16
+ permissionsRequired?: string;
13
17
  platforms?: string[];
14
18
  revision?: string;
15
19
  spec?: FaulttemplateSpec;
16
20
  tags?: string[];
21
+ type?: string;
17
22
  variables?: TemplateVariable[];
18
23
  }
@@ -10,6 +10,7 @@ export interface ExecutionChaosExecutionNode {
10
10
  experimentID?: string;
11
11
  experimentRunID?: string;
12
12
  finishedAt?: number;
13
+ infraID?: string;
13
14
  infraType?: ExecutionInfraType;
14
15
  isRemoved?: boolean;
15
16
  lastUpdatedAt?: number;
@@ -0,0 +1,4 @@
1
+ export interface FaultLink {
2
+ name?: string;
3
+ url?: string;
4
+ }
@@ -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 {};
@@ -32,5 +32,5 @@ export interface FaulttemplateChaosKubernetesSpec {
32
32
  podSecurityContext?: V1PodSecurityContext;
33
33
  resourceRequirements?: FaulttemplateResourceRequirements;
34
34
  secretVolume?: FaulttemplateSecretVolume[];
35
- toleration?: V1Toleration;
35
+ toleration?: V1Toleration[];
36
36
  }
@@ -1,16 +1,21 @@
1
+ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
1
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface FaulttemplateFaultTemplate {
5
+ category?: string[];
4
6
  description?: string;
5
7
  identity?: string;
6
8
  infraType?: string;
7
9
  infras?: string[];
8
10
  isDefault?: boolean;
9
11
  keywords?: string[];
12
+ links?: FaulttemplateLink[];
10
13
  name?: string;
14
+ permissionsRequired?: string;
11
15
  platforms?: string[];
12
16
  revision?: string;
13
17
  spec?: FaulttemplateSpec;
14
18
  tags?: string[];
19
+ type?: string;
15
20
  variables?: TemplateVariable[];
16
21
  }
@@ -0,0 +1,4 @@
1
+ export interface FaulttemplateLink {
2
+ name?: string;
3
+ url?: string;
4
+ }
@@ -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 {};
@@ -0,0 +1,14 @@
1
+ import type { ProbeComparator } from '../schemas/ProbeComparator';
2
+ export interface ProbeWindowsCmdProbe {
3
+ attempt?: {};
4
+ command?: string;
5
+ comparator?: ProbeComparator;
6
+ initialDelay?: string;
7
+ initialDelaySeconds?: {};
8
+ interval?: string;
9
+ pollingInterval?: string;
10
+ probeTimeout?: string;
11
+ retry?: {};
12
+ stopOnFailure?: boolean;
13
+ verbosity?: string;
14
+ }
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
2
+ Format?: string;
3
3
  }
@@ -8,6 +8,7 @@ import type { ProbeLinuxCmdProbe } from '../schemas/ProbeLinuxCmdProbe';
8
8
  import type { ProbePromProbe } from '../schemas/ProbePromProbe';
9
9
  import type { ProbeSloProbe } from '../schemas/ProbeSloProbe';
10
10
  import type { TemplateVariable } from '../schemas/TemplateVariable';
11
+ import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
11
12
  export interface TypesCreateProbeResponse {
12
13
  apmProperties?: ProbeApmProbe;
13
14
  description?: string;
@@ -27,5 +28,6 @@ export interface TypesCreateProbeResponse {
27
28
  sloProperties?: ProbeSloProbe;
28
29
  tags?: string[];
29
30
  variables?: TemplateVariable[];
31
+ windowsCmdProperties?: ProbeWindowsCmdProbe;
30
32
  windowsHttpProperties?: ProbeHttpProbe;
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.17.0",
3
+ "version": "1.18.1-beta.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",