@harnessio/react-chaos-manager-client 1.38.0 → 1.39.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 (31) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.d.ts +2 -2
  2. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.d.ts +1 -0
  3. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +1 -0
  4. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +1 -0
  5. package/dist/chaos-manager/src/services/index.d.ts +4 -1
  6. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +2 -0
  7. package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +2 -0
  8. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +2 -0
  9. package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +2 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunTemplateDetails.d.ts +6 -0
  12. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +4 -0
  13. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -0
  14. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -0
  15. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -0
  16. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +2 -0
  17. package/dist/chaos-manager/src/services/schemas/ModelTemplateRef.d.ts +18 -0
  18. package/dist/chaos-manager/src/services/schemas/ModelTemplateRef.js +4 -0
  19. package/dist/chaos-manager/src/services/schemas/ModelWorkflow.d.ts +5 -0
  20. package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +5 -0
  21. package/dist/chaos-manager/src/services/schemas/MongodbManagedBy.d.ts +1 -0
  22. package/dist/chaos-manager/src/services/schemas/MongodbManagedBy.js +4 -0
  23. package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts → TypesCreateExperimentFromTemplateRequest.d.ts} +3 -1
  24. package/dist/chaos-manager/src/services/schemas/TypesCreateExperimentFromTemplateRequest.js +1 -0
  25. package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +2 -0
  26. package/dist/chaos-manager/src/services/schemas/TypesExperimentV2.d.ts +2 -0
  27. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +2 -0
  28. package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +2 -0
  29. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +2 -0
  30. package/package.json +1 -1
  31. /package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateCreateExperimentFromTemplateRequest.js → ChaosExperimentRunTemplateDetails.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { TypesExperimentCreationResponse } from '../schemas/TypesExperimentCreationResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
- import type { ChaosexperimenttemplateCreateExperimentFromTemplateRequest } from '../schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest';
4
+ import type { TypesCreateExperimentFromTemplateRequest } from '../schemas/TypesCreateExperimentFromTemplateRequest';
5
5
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
6
  export interface CreateExperimentFromTemplateMutationPathParams {
7
7
  identity: string;
@@ -15,7 +15,7 @@ export interface CreateExperimentFromTemplateMutationQueryParams {
15
15
  revision?: string;
16
16
  verbose?: boolean;
17
17
  }
18
- export type CreateExperimentFromTemplateRequestBody = ChaosexperimenttemplateCreateExperimentFromTemplateRequest;
18
+ export type CreateExperimentFromTemplateRequestBody = TypesCreateExperimentFromTemplateRequest;
19
19
  export type CreateExperimentFromTemplateOkResponse = TypesExperimentCreationResponse;
20
20
  export type CreateExperimentFromTemplateErrorResponse = ApiRestError;
21
21
  export interface CreateExperimentFromTemplateProps extends CreateExperimentFromTemplateMutationPathParams, Omit<FetcherOptions<CreateExperimentFromTemplateMutationQueryParams, CreateExperimentFromTemplateRequestBody>, 'url'> {
@@ -9,6 +9,7 @@ export interface GetExperimentTemplateQueryQueryParams {
9
9
  accountIdentifier: string;
10
10
  correlationID?: string;
11
11
  hubIdentity?: string;
12
+ isReference?: boolean;
12
13
  organizationIdentifier?: string;
13
14
  projectIdentifier?: string;
14
15
  revision?: string;
@@ -9,6 +9,7 @@ export interface GetExperimentTemplateVariablesQueryQueryParams {
9
9
  accountIdentifier: string;
10
10
  correlationID?: string;
11
11
  hubIdentity?: string;
12
+ isReference?: boolean;
12
13
  organizationIdentifier?: string;
13
14
  projectIdentifier?: string;
14
15
  revision?: string;
@@ -9,6 +9,7 @@ export interface GetExperimentTemplateYamlQueryQueryParams {
9
9
  accountIdentifier: string;
10
10
  correlationID?: string;
11
11
  hubIdentity?: string;
12
+ isReference?: boolean;
12
13
  organizationIdentifier?: string;
13
14
  projectIdentifier?: string;
14
15
  revision?: string;
@@ -450,6 +450,7 @@ export type { ChaosExperimentRunFaults } from './schemas/ChaosExperimentRunFault
450
450
  export type { ChaosExperimentRunRuleDetails } from './schemas/ChaosExperimentRunRuleDetails';
451
451
  export type { ChaosExperimentRunSecurityGovernanceNode } from './schemas/ChaosExperimentRunSecurityGovernanceNode';
452
452
  export type { ChaosExperimentRunSecurityGovernanceNodeData } from './schemas/ChaosExperimentRunSecurityGovernanceNodeData';
453
+ export type { ChaosExperimentRunTemplateDetails } from './schemas/ChaosExperimentRunTemplateDetails';
453
454
  export type { ChaosExperimentSingleClickOnboardMetadata } from './schemas/ChaosExperimentSingleClickOnboardMetadata';
454
455
  export type { ChaosExperimentWeightagesInput } from './schemas/ChaosExperimentWeightagesInput';
455
456
  export type { ChaosExperimentWorkflowRevision } from './schemas/ChaosExperimentWorkflowRevision';
@@ -466,7 +467,6 @@ export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './sch
466
467
  export type { ChaosexperimentpipelineReferenceEntities } from './schemas/ChaosexperimentpipelineReferenceEntities';
467
468
  export type { ChaosexperimenttemplateChaosExperimentTemplate } from './schemas/ChaosexperimenttemplateChaosExperimentTemplate';
468
469
  export type { ChaosexperimenttemplateCompareRevisions } from './schemas/ChaosexperimenttemplateCompareRevisions';
469
- export type { ChaosexperimenttemplateCreateExperimentFromTemplateRequest } from './schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest';
470
470
  export type { ChaosexperimenttemplateCreateExperimentTemplateRequest } from './schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest';
471
471
  export type { ChaosexperimenttemplateCreateExperimentTemplateResponse } from './schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse';
472
472
  export type { ChaosexperimenttemplateExperimentTemplateVariables } from './schemas/ChaosexperimenttemplateExperimentTemplateVariables';
@@ -825,6 +825,7 @@ export type { ModelScenarioType } from './schemas/ModelScenarioType';
825
825
  export type { ModelSecurityGovernance } from './schemas/ModelSecurityGovernance';
826
826
  export type { ModelSecurityGovernanceNodeData } from './schemas/ModelSecurityGovernanceNodeData';
827
827
  export type { ModelSecurityGovernancePhase } from './schemas/ModelSecurityGovernancePhase';
828
+ export type { ModelTemplateRef } from './schemas/ModelTemplateRef';
828
829
  export type { ModelTimeWindow } from './schemas/ModelTimeWindow';
829
830
  export type { ModelToleration } from './schemas/ModelToleration';
830
831
  export type { ModelUpdateInfraRequest } from './schemas/ModelUpdateInfraRequest';
@@ -840,6 +841,7 @@ export type { ModelWorkflowSortInput } from './schemas/ModelWorkflowSortInput';
840
841
  export type { ModelWorkflowSortingField } from './schemas/ModelWorkflowSortingField';
841
842
  export type { ModelWorkflowType } from './schemas/ModelWorkflowType';
842
843
  export type { MongodbImportType } from './schemas/MongodbImportType';
844
+ export type { MongodbManagedBy } from './schemas/MongodbManagedBy';
843
845
  export type { NetworkmapCanRetryExperimentCreationResponse } from './schemas/NetworkmapCanRetryExperimentCreationResponse';
844
846
  export type { NetworkmapGetTargetNetworkMapResponse } from './schemas/NetworkmapGetTargetNetworkMapResponse';
845
847
  export type { NetworkmapGetTargetServiceResponse } from './schemas/NetworkmapGetTargetServiceResponse';
@@ -966,6 +968,7 @@ export type { TemplateVariableCategory } from './schemas/TemplateVariableCategor
966
968
  export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
967
969
  export type { TemplateVariableType } from './schemas/TemplateVariableType';
968
970
  export type { TypesActionItem } from './schemas/TypesActionItem';
971
+ export type { TypesCreateExperimentFromTemplateRequest } from './schemas/TypesCreateExperimentFromTemplateRequest';
969
972
  export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
970
973
  export type { TypesCreateGamedayResponse } from './schemas/TypesCreateGamedayResponse';
971
974
  export type { TypesCreateGamedayRunResponse } from './schemas/TypesCreateGamedayRunResponse';
@@ -2,6 +2,7 @@ import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemp
2
2
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
3
3
  import type { MongodbImportType } from '../schemas/MongodbImportType';
4
4
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
5
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
5
6
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
6
7
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
7
8
  import type { ActionsActionType } from '../schemas/ActionsActionType';
@@ -21,6 +22,7 @@ export interface ActionsActionResponse {
21
22
  infrastructureType?: ActionsInfrastructureType;
22
23
  isImported?: boolean;
23
24
  isRemoved?: boolean;
25
+ managedBy?: MongodbManagedBy;
24
26
  name: string;
25
27
  orgID?: string;
26
28
  projectID?: string;
@@ -1,5 +1,6 @@
1
1
  import type { ActionsIdentifiers } from '../schemas/ActionsIdentifiers';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
3
4
  export interface ActionsImportActionTemplateRequest {
4
5
  actionRef: string;
5
6
  description?: string;
@@ -7,6 +8,7 @@ export interface ActionsImportActionTemplateRequest {
7
8
  hubRef?: string;
8
9
  identity: string;
9
10
  importType: MongodbImportType;
11
+ managedBy?: MongodbManagedBy;
10
12
  name: string;
11
13
  tags?: string[];
12
14
  }
@@ -1,6 +1,7 @@
1
1
  import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
2
2
  import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
3
3
  import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
4
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
4
5
  export interface ChaosExecutionNodesChaosExecutionResponse {
5
6
  accountID: string;
6
7
  duration?: number;
@@ -21,4 +22,5 @@ export interface ChaosExecutionNodesChaosExecutionResponse {
21
22
  status?: ExecutionChaosStepStatus;
22
23
  stepName?: string;
23
24
  stepType?: ExecutionChaosStepType;
25
+ templateDetails?: ChaosExperimentRunTemplateDetails;
24
26
  }
@@ -4,6 +4,7 @@ import type { ChaosExperimentExperimentRunDetail } from '../schemas/ChaosExperim
4
4
  import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
5
5
  import type { ChaosExperimentWorkflowRevision } from '../schemas/ChaosExperimentWorkflowRevision';
6
6
  import type { ChaosExperimentSingleClickOnboardMetadata } from '../schemas/ChaosExperimentSingleClickOnboardMetadata';
7
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
7
8
  export interface ChaosExperimentChaosExperimentRequest {
8
9
  accountID: string;
9
10
  createdAt?: number;
@@ -36,6 +37,7 @@ export interface ChaosExperimentChaosExperimentRequest {
36
37
  singleClickOnboardMetadata?: ChaosExperimentSingleClickOnboardMetadata;
37
38
  tags?: string[];
38
39
  targetNetworkMapID?: string;
40
+ templateDetails?: ChaosExperimentRunTemplateDetails;
39
41
  totalExperimentRuns?: number;
40
42
  updatedAt?: number;
41
43
  updatedBy?: string;
@@ -2,6 +2,7 @@ import type { ChaosExperimentRunExperimentType } from '../schemas/ChaosExperimen
2
2
  import type { ChaosExperimentRunFaults } from '../schemas/ChaosExperimentRunFaults';
3
3
  import type { ChaosExperimentRunSecurityGovernanceNode } from '../schemas/ChaosExperimentRunSecurityGovernanceNode';
4
4
  import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
5
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
5
6
  export interface ChaosExperimentRunChaosExperimentRun {
6
7
  accountID: string;
7
8
  completed?: boolean;
@@ -34,6 +35,7 @@ export interface ChaosExperimentRunChaosExperimentRun {
34
35
  runSequence?: number;
35
36
  securityGovernance?: ChaosExperimentRunSecurityGovernanceNode;
36
37
  targetedServices?: TargetserviceServiceMetadata[];
38
+ templateDetails?: ChaosExperimentRunTemplateDetails;
37
39
  totalFaults?: number;
38
40
  updatedAt?: number;
39
41
  updatedBy?: string;
@@ -0,0 +1,6 @@
1
+ export interface ChaosExperimentRunTemplateDetails {
2
+ hubReference?: string;
3
+ identity?: string;
4
+ reference?: string;
5
+ revision?: string;
6
+ }
@@ -7,6 +7,10 @@ export interface ChaosexperimenttemplateChaosExperimentTemplate {
7
7
  createdBy?: string;
8
8
  createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
9
9
  description?: string;
10
+ /**
11
+ * Counter to track if any edits were made to the template
12
+ */
13
+ editCounter?: number;
10
14
  hubIdentity?: string;
11
15
  id?: string;
12
16
  identity?: string;
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
4
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
6
  export interface ChaosfaultChaosFault {
6
7
  accountID: string;
@@ -24,6 +25,7 @@ export interface ChaosfaultChaosFault {
24
25
  isEnterprise?: boolean;
25
26
  isRemoved: boolean;
26
27
  links?: ChaosfaultLink[];
28
+ managedBy?: MongodbManagedBy;
27
29
  name: string;
28
30
  orgID?: string;
29
31
  permissionsRequired?: string;
@@ -1,5 +1,6 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
2
  import type { FaultLink } from '../schemas/FaultLink';
3
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
3
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
5
6
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
@@ -14,6 +15,7 @@ export interface ChaosfaultCreateFaultRequest {
14
15
  infras?: string[];
15
16
  kind?: string;
16
17
  links?: FaultLink[];
18
+ managedBy?: MongodbManagedBy;
17
19
  name: string;
18
20
  permissionsRequired?: string;
19
21
  spec?: FaulttemplateSpec;
@@ -1,5 +1,6 @@
1
1
  import type { CommonImportType } from '../schemas/CommonImportType';
2
2
  import type { FaultLink } from '../schemas/FaultLink';
3
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
3
4
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
5
  import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
5
6
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
@@ -16,6 +17,7 @@ export interface ChaosfaultGetFaultResponse {
16
17
  isEnterprise?: boolean;
17
18
  kind?: string;
18
19
  links?: FaultLink[];
20
+ managedBy?: MongodbManagedBy;
19
21
  name: string;
20
22
  permissionsRequired?: string;
21
23
  spec?: FaulttemplateSpec;
@@ -1,6 +1,7 @@
1
1
  import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
4
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
5
6
  import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
6
7
  import type { ActionsActionType } from '../schemas/ActionsActionType';
@@ -16,6 +17,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
16
17
  importType?: MongodbImportType;
17
18
  infrastructureType?: ActionsInfrastructureType;
18
19
  isRemoved?: boolean;
20
+ managedBy?: MongodbManagedBy;
19
21
  name: string;
20
22
  orgID?: string;
21
23
  projectID?: string;
@@ -0,0 +1,18 @@
1
+ export interface ModelTemplateRef {
2
+ /**
3
+ * Reference to the hub where the template is stored
4
+ */
5
+ hubRef?: string;
6
+ /**
7
+ * Unique identifier for the template
8
+ */
9
+ identity?: string;
10
+ /**
11
+ * Reference path or identifier for the template
12
+ */
13
+ ref?: string;
14
+ /**
15
+ * Version or revision of the template
16
+ */
17
+ revision?: string;
18
+ }
@@ -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 {};
@@ -3,6 +3,7 @@ import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
3
3
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
4
4
  import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
5
5
  import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
6
+ import type { ModelTemplateRef } from '../schemas/ModelTemplateRef';
6
7
  import type { ModelWeightages } from '../schemas/ModelWeightages';
7
8
  export interface ModelWorkflow {
8
9
  /**
@@ -70,6 +71,10 @@ export interface ModelWorkflow {
70
71
  * Tags of the workflow
71
72
  */
72
73
  tags?: string[];
74
+ /**
75
+ * TemplateDetails of an experiment
76
+ */
77
+ templateDetails?: ModelTemplateRef;
73
78
  /**
74
79
  * Timestamp when the workflow was last updated
75
80
  */
@@ -4,6 +4,7 @@ import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
4
4
  import type { ModelWorkflowRunStatus } from '../schemas/ModelWorkflowRunStatus';
5
5
  import type { ModelProbeMap } from '../schemas/ModelProbeMap';
6
6
  import type { ModelSecurityGovernance } from '../schemas/ModelSecurityGovernance';
7
+ import type { ModelTemplateRef } from '../schemas/ModelTemplateRef';
7
8
  import type { ModelWeightages } from '../schemas/ModelWeightages';
8
9
  export interface ModelWorkflowRun {
9
10
  /**
@@ -98,6 +99,10 @@ export interface ModelWorkflowRun {
98
99
  * Security Governance details of the workflow run
99
100
  */
100
101
  securityGovernance?: ModelSecurityGovernance;
102
+ /**
103
+ * TemplateDetails of an experiment
104
+ */
105
+ templateDetails?: ModelTemplateRef;
101
106
  /**
102
107
  * Total number of experiments
103
108
  */
@@ -0,0 +1 @@
1
+ export type MongodbManagedBy = 'EXPERIMENT';
@@ -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,10 +1,12 @@
1
- export interface ChaosexperimenttemplateCreateExperimentFromTemplateRequest {
1
+ import type { MongodbImportType } from '../schemas/MongodbImportType';
2
+ export interface TypesCreateExperimentFromTemplateRequest {
2
3
  /**
3
4
  * account id to access the resource
4
5
  */
5
6
  accountIdentifier: string;
6
7
  description?: string;
7
8
  identity?: string;
9
+ importType?: MongodbImportType;
8
10
  infraRef?: string;
9
11
  name: string;
10
12
  /**
@@ -2,6 +2,7 @@ import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
2
2
  import type { ModelWorkflowType } from '../schemas/ModelWorkflowType';
3
3
  import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
4
4
  import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
5
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
5
6
  export interface TypesExperimentCreationRequest {
6
7
  cronSyntax?: string;
7
8
  description?: string;
@@ -16,5 +17,6 @@ export interface TypesExperimentCreationRequest {
16
17
  name?: string;
17
18
  recommendation?: ChaosExperimentRecommendation;
18
19
  tags?: string[];
20
+ templateDetails?: ChaosExperimentRunTemplateDetails;
19
21
  validateManifest?: boolean;
20
22
  }
@@ -6,6 +6,7 @@ import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
6
6
  import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
7
7
  import type { ChaosExperimentSingleClickOnboardMetadata } from '../schemas/ChaosExperimentSingleClickOnboardMetadata';
8
8
  import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
9
+ import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
9
10
  import type { TypesWeightages } from '../schemas/TypesWeightages';
10
11
  export interface TypesExperimentV2 {
11
12
  createdAt?: string;
@@ -27,6 +28,7 @@ export interface TypesExperimentV2 {
27
28
  singleClickOnboardMetadata?: ChaosExperimentSingleClickOnboardMetadata;
28
29
  tags?: string[];
29
30
  targetNetworkService?: TargetserviceServiceMetadata[];
31
+ templateDetails?: ChaosExperimentRunTemplateDetails;
30
32
  updatedAt?: string;
31
33
  updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
32
34
  weightages?: TypesWeightages[];
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
4
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
4
5
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
5
6
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
6
7
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
@@ -17,6 +18,7 @@ export interface TypesGetProbeResponse {
17
18
  isEnabled?: boolean;
18
19
  isImported?: boolean;
19
20
  isVerified?: boolean;
21
+ managedBy?: MongodbManagedBy;
20
22
  name?: string;
21
23
  probeId?: string;
22
24
  probeProperties?: ProbeProbeTemplateProperties;
@@ -1,11 +1,13 @@
1
1
  import type { TypesIdentifiers } from '../schemas/TypesIdentifiers';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
3
4
  export interface TypesImportProbeTemplateRequest {
4
5
  description?: string;
5
6
  hubIdentifiers?: TypesIdentifiers;
6
7
  hubRef?: string;
7
8
  identity: string;
8
9
  importType: MongodbImportType;
10
+ managedBy?: MongodbManagedBy;
9
11
  name: string;
10
12
  probeRef: string;
11
13
  tags?: string[];
@@ -1,5 +1,6 @@
1
1
  import type { MongodbImportType } from '../schemas/MongodbImportType';
2
2
  import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
3
+ import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
3
4
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
4
5
  import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
5
6
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
@@ -14,6 +15,7 @@ export interface TypesProbeRequest {
14
15
  isEnabled?: boolean;
15
16
  isImported?: boolean;
16
17
  isVerified?: boolean;
18
+ managedBy?: MongodbManagedBy;
17
19
  name?: string;
18
20
  probeId?: string;
19
21
  probeProperties?: ProbeProbeTemplateProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",