@harnessio/react-chaos-manager-client 1.29.0 → 1.30.1

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 (120) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.d.ts +28 -0
  2. package/dist/chaos-manager/src/services/hooks/useCreateConditionMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useCreateRuleMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.d.ts +28 -0
  6. package/dist/chaos-manager/src/services/hooks/useDeleteConditionMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useDeleteLegacyKubernetesChaosInfraMutation.d.ts +27 -0
  8. package/dist/chaos-manager/src/services/hooks/useDeleteLegacyKubernetesChaosInfraMutation.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.d.ts +28 -0
  10. package/dist/chaos-manager/src/services/hooks/useDeleteRuleMutation.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.d.ts +29 -0
  12. package/dist/chaos-manager/src/services/hooks/useEnableRuleMutation.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.d.ts +27 -0
  14. package/dist/chaos-manager/src/services/hooks/useGetConditionQuery.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +1 -1
  16. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraDetailsQuery.d.ts +26 -0
  17. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraDetailsQuery.js +14 -0
  18. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraManifestQuery.d.ts +25 -0
  19. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraManifestQuery.js +14 -0
  20. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraStatsQuery.d.ts +23 -0
  21. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraStatsQuery.js +14 -0
  22. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraVersionDetailsQuery.d.ts +23 -0
  23. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesChaosInfraVersionDetailsQuery.js +14 -0
  24. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesHelmInfraCommandQuery.d.ts +25 -0
  25. package/dist/chaos-manager/src/services/hooks/useGetLegacyKubernetesHelmInfraCommandQuery.js +14 -0
  26. package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.d.ts +27 -0
  27. package/dist/chaos-manager/src/services/hooks/useGetRuleQuery.js +14 -0
  28. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +37 -0
  29. package/dist/chaos-manager/src/services/hooks/useListConditionQuery.js +14 -0
  30. package/dist/chaos-manager/src/services/hooks/useListExperimentRunsOfFaultQuery.d.ts +1 -1
  31. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -1
  32. package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -1
  33. package/dist/chaos-manager/src/services/hooks/useListFaultv2Query.d.ts +1 -1
  34. package/dist/chaos-manager/src/services/hooks/useListLegacyKubernetesChaosInfraMutation.d.ts +27 -0
  35. package/dist/chaos-manager/src/services/hooks/useListLegacyKubernetesChaosInfraMutation.js +14 -0
  36. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +37 -0
  37. package/dist/chaos-manager/src/services/hooks/useListRuleQuery.js +14 -0
  38. package/dist/chaos-manager/src/services/hooks/useRegisterLegacyKubernetesInfraMutation.d.ts +27 -0
  39. package/dist/chaos-manager/src/services/hooks/useRegisterLegacyKubernetesInfraMutation.js +14 -0
  40. package/dist/chaos-manager/src/services/hooks/useTestLegacyKubernetesChaosInfraConnectionMutation.d.ts +26 -0
  41. package/dist/chaos-manager/src/services/hooks/useTestLegacyKubernetesChaosInfraConnectionMutation.js +14 -0
  42. package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.d.ts +31 -0
  43. package/dist/chaos-manager/src/services/hooks/useUpdateConditionMutation.js +14 -0
  44. package/dist/chaos-manager/src/services/hooks/useUpdateLegacyKubernetesChaosInfraMutation.d.ts +29 -0
  45. package/dist/chaos-manager/src/services/hooks/useUpdateLegacyKubernetesChaosInfraMutation.js +14 -0
  46. package/dist/chaos-manager/src/services/hooks/useUpdateMachineInfraMutation.d.ts +30 -0
  47. package/dist/chaos-manager/src/services/hooks/useUpdateMachineInfraMutation.js +14 -0
  48. package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.d.ts +31 -0
  49. package/dist/chaos-manager/src/services/hooks/useUpdateRuleMutation.js +14 -0
  50. package/dist/chaos-manager/src/services/hooks/useUpgradeLegacyKubernetesChaosInfraMutation.d.ts +26 -0
  51. package/dist/chaos-manager/src/services/hooks/useUpgradeLegacyKubernetesChaosInfraMutation.js +14 -0
  52. package/dist/chaos-manager/src/services/index.d.ts +73 -0
  53. package/dist/chaos-manager/src/services/index.js +23 -0
  54. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +9 -0
  55. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsConditionResponse.d.ts +21 -0
  56. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsConditionResponse.js +1 -0
  57. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionRequest.d.ts +14 -0
  58. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionRequest.js +1 -0
  59. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionResponse.d.ts +15 -0
  60. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsCreateConditionResponse.js +1 -0
  61. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsDeleteConditionResponse.d.ts +5 -0
  62. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsDeleteConditionResponse.js +4 -0
  63. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsGetConditionResponse.d.ts +22 -0
  64. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsGetConditionResponse.js +1 -0
  65. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsListConditionResponse.d.ts +7 -0
  66. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsListConditionResponse.js +1 -0
  67. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsRule.d.ts +4 -0
  68. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsRule.js +4 -0
  69. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsUpdateConditionResponse.d.ts +15 -0
  70. package/dist/chaos-manager/src/services/schemas/ChaosguardconditionsUpdateConditionResponse.js +1 -0
  71. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleRequest.d.ts +11 -0
  72. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleRequest.js +1 -0
  73. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleResponse.d.ts +12 -0
  74. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesCreateRuleResponse.js +1 -0
  75. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesDeleteRuleResponse.d.ts +5 -0
  76. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesDeleteRuleResponse.js +4 -0
  77. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesGetRuleResponse.d.ts +19 -0
  78. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesGetRuleResponse.js +1 -0
  79. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesListRuleResponse.d.ts +7 -0
  80. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesListRuleResponse.js +1 -0
  81. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesRuleResponse.d.ts +19 -0
  82. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesRuleResponse.js +1 -0
  83. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesUpdateRuleResponse.d.ts +12 -0
  84. package/dist/chaos-manager/src/services/schemas/ChaosguardrulesUpdateRuleResponse.js +1 -0
  85. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest.d.ts +85 -0
  86. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest.js +1 -0
  87. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse.d.ts +22 -0
  88. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse.js +4 -0
  89. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule.d.ts +11 -0
  90. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule.js +1 -0
  91. package/dist/chaos-manager/src/services/schemas/HcesdkUserDetails.d.ts +5 -0
  92. package/dist/chaos-manager/src/services/schemas/HcesdkUserDetails.js +4 -0
  93. package/dist/chaos-manager/src/services/schemas/InfraInfraFilterInput.d.ts +8 -0
  94. package/dist/chaos-manager/src/services/schemas/InfraListInfraRequest.d.ts +5 -0
  95. package/dist/chaos-manager/src/services/schemas/InfraRegisterInfraUserInputs.d.ts +16 -0
  96. package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraRequest.d.ts +13 -0
  97. package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraRequest.js +1 -0
  98. package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraResponse.d.ts +4 -0
  99. package/dist/chaos-manager/src/services/schemas/InfraUpdateInfraResponse.js +4 -0
  100. package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfraV2FilterInput.d.ts +2 -0
  101. package/dist/chaos-manager/src/services/schemas/InfraV2ListKubernetesInfraV2Request.d.ts +2 -0
  102. package/dist/chaos-manager/src/services/schemas/InfraV2SortInput.d.ts +11 -0
  103. package/dist/chaos-manager/src/services/schemas/InfraV2SortInput.js +1 -0
  104. package/dist/chaos-manager/src/services/schemas/InfraV2SortingField.d.ts +1 -0
  105. package/dist/chaos-manager/src/services/schemas/InfraV2SortingField.js +4 -0
  106. package/dist/chaos-manager/src/services/schemas/ModelGetInfraStatsResponse.d.ts +22 -0
  107. package/dist/chaos-manager/src/services/schemas/ModelGetInfraStatsResponse.js +4 -0
  108. package/dist/chaos-manager/src/services/schemas/ModelInfraVersionDetails.d.ts +10 -0
  109. package/dist/chaos-manager/src/services/schemas/ModelInfraVersionDetails.js +4 -0
  110. package/dist/chaos-manager/src/services/schemas/ModelToleration.d.ts +7 -0
  111. package/dist/chaos-manager/src/services/schemas/ModelToleration.js +4 -0
  112. package/dist/chaos-manager/src/services/schemas/ModelUpdateInfraRequest.d.ts +22 -0
  113. package/dist/chaos-manager/src/services/schemas/ModelUpdateInfraRequest.js +4 -0
  114. package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineChaosOnboardingStatusResponse.d.ts +1 -1
  115. package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineChaosOnboardingTaskRequest.d.ts +1 -1
  116. package/dist/chaos-manager/src/services/schemas/PipelineonboardingPipelineOnboarding.d.ts +1 -1
  117. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceCondition.d.ts +4 -4
  118. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceRecurrence.d.ts +1 -1
  119. package/dist/chaos-manager/src/services/schemas/SecurityGovernanceTimeWindow.d.ts +2 -2
  120. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ export interface ChaosguardrulesDeleteRuleResponse {
2
+ correlationID?: string;
3
+ message?: string;
4
+ success?: boolean;
5
+ }
@@ -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,19 @@
1
+ import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
2
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
3
+ import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
4
+ export interface ChaosguardrulesGetRuleResponse {
5
+ conditionIds: string[];
6
+ conditions?: SecurityGovernanceCondition[];
7
+ correlationID?: string;
8
+ createdAt?: number;
9
+ createdBy?: HcesdkUserDetails;
10
+ description?: string;
11
+ isEnabled?: boolean;
12
+ name: string;
13
+ ruleId: string;
14
+ tags?: string[];
15
+ timeWindows: SecurityGovernanceTimeWindow[];
16
+ updatedAt?: number;
17
+ updatedBy?: HcesdkUserDetails;
18
+ userGroupIds: string[];
19
+ }
@@ -0,0 +1,7 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
2
+ import type { ChaosguardrulesRuleResponse } from '../schemas/ChaosguardrulesRuleResponse';
3
+ export interface ChaosguardrulesListRuleResponse {
4
+ correlationID?: string;
5
+ pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
6
+ rules?: ChaosguardrulesRuleResponse[];
7
+ }
@@ -0,0 +1,19 @@
1
+ import type { SecurityGovernanceCondition } from '../schemas/SecurityGovernanceCondition';
2
+ import type { HcesdkUserDetails } from '../schemas/HcesdkUserDetails';
3
+ import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
4
+ export interface ChaosguardrulesRuleResponse {
5
+ conditionIds: string[];
6
+ conditions?: SecurityGovernanceCondition[];
7
+ correlationID?: string;
8
+ createdAt?: number;
9
+ createdBy?: HcesdkUserDetails;
10
+ description?: string;
11
+ isEnabled?: boolean;
12
+ name: string;
13
+ ruleId: string;
14
+ tags?: string[];
15
+ timeWindows: SecurityGovernanceTimeWindow[];
16
+ updatedAt?: number;
17
+ updatedBy?: HcesdkUserDetails;
18
+ userGroupIds: string[];
19
+ }
@@ -0,0 +1,12 @@
1
+ import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
2
+ export interface ChaosguardrulesUpdateRuleResponse {
3
+ conditionIds: string[];
4
+ correlationID?: string;
5
+ description?: string;
6
+ isEnabled?: boolean;
7
+ name: string;
8
+ ruleId: string;
9
+ tags?: string[];
10
+ timeWindows: SecurityGovernanceTimeWindow[];
11
+ userGroupIds: string[];
12
+ }
@@ -0,0 +1,85 @@
1
+ import type { ModelInfraScope } from '../schemas/ModelInfraScope';
2
+ import type { ModelInstallationType } from '../schemas/ModelInstallationType';
3
+ import type { ModelToleration } from '../schemas/ModelToleration';
4
+ export interface GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraRequest {
5
+ /**
6
+ * Description of the infra
7
+ */
8
+ description?: string;
9
+ /**
10
+ * Environment ID for the infra
11
+ */
12
+ environmentID?: string;
13
+ /**
14
+ * Namespace where the infra is being installed
15
+ */
16
+ infraNamespace?: string;
17
+ /**
18
+ * Bool value indicating whether infra ns used already exists on infra or not
19
+ */
20
+ infraNsExists?: boolean;
21
+ /**
22
+ * Bool value indicating whether service account used already exists on infra or not
23
+ */
24
+ infraSaExists?: boolean;
25
+ /**
26
+ * Scope of the infra : ns or infra
27
+ */
28
+ infraScope?: ModelInfraScope;
29
+ /**
30
+ * InstallationType connector/manifest
31
+ */
32
+ installationType?: ModelInstallationType;
33
+ /**
34
+ * Boolean value indicating if chaos infrastructure has auto upgrade enabled or not
35
+ */
36
+ isAutoUpgradeEnabled?: boolean;
37
+ /**
38
+ * Tune secret for infra
39
+ */
40
+ isSecretEnabled?: boolean;
41
+ /**
42
+ * K8sConnectorID
43
+ */
44
+ k8sConnectorID?: string;
45
+ /**
46
+ * Name of the infra
47
+ */
48
+ name?: string;
49
+ /**
50
+ * Node selectors used by infra
51
+ */
52
+ nodeSelector?: string;
53
+ /**
54
+ * Infra Platform Name eg. GKE,AWS, Others
55
+ */
56
+ platformName?: string;
57
+ /**
58
+ * set the user group for security context in pod
59
+ */
60
+ runAsGroup?: number;
61
+ /**
62
+ * set the user for security context in pod
63
+ */
64
+ runAsUser?: number;
65
+ /**
66
+ * Value containing the scc-yaml used in openShift clusters
67
+ */
68
+ sccYaml?: string;
69
+ /**
70
+ * Name of service account used by infra
71
+ */
72
+ serviceAccount?: string;
73
+ /**
74
+ * Bool value indicating whether infra will skip ssl checks or not
75
+ */
76
+ skipSsl?: boolean;
77
+ /**
78
+ * Tags of the infra
79
+ */
80
+ tags?: string[];
81
+ /**
82
+ * Node tolerations used by infra
83
+ */
84
+ tolerations?: ModelToleration[];
85
+ }
@@ -0,0 +1,22 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerGraphModelRegisterInfraResponse {
2
+ /**
3
+ * Unique ID for the newly registered infra
4
+ */
5
+ infraID?: string;
6
+ /**
7
+ * Infra Manifest
8
+ */
9
+ manifest?: string;
10
+ /**
11
+ * Infra name as sent in request
12
+ */
13
+ name?: string;
14
+ /**
15
+ * taskID sent for the brownfield deployment task
16
+ */
17
+ taskID?: string;
18
+ /**
19
+ * Token used to verify and retrieve the infra manifest
20
+ */
21
+ token?: string;
22
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { SecurityGovernanceTimeWindow } from '../schemas/SecurityGovernanceTimeWindow';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbSecurityGovernanceRule {
3
+ conditionIds: string[];
4
+ description?: string;
5
+ isEnabled?: boolean;
6
+ name: string;
7
+ ruleId: string;
8
+ tags?: string[];
9
+ timeWindows: SecurityGovernanceTimeWindow[];
10
+ userGroupIds: string[];
11
+ }
@@ -0,0 +1,5 @@
1
+ export interface HcesdkUserDetails {
2
+ email?: string;
3
+ userID?: string;
4
+ username?: string;
5
+ }
@@ -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,10 @@ export interface InfraInfraFilterInput {
3
3
  * ID of the infra
4
4
  */
5
5
  description?: string;
6
+ /**
7
+ * Experiment version of the infra
8
+ */
9
+ experimentVersion?: string;
6
10
  /**
7
11
  * ID of the infra
8
12
  */
@@ -15,6 +19,10 @@ export interface InfraInfraFilterInput {
15
19
  * Name of the infra
16
20
  */
17
21
  name?: string;
22
+ /**
23
+ * Status of the infra
24
+ */
25
+ status?: string;
18
26
  /**
19
27
  * Tags of an infra
20
28
  */
@@ -2,6 +2,7 @@ import type { InfraInfraFilterInput } from '../schemas/InfraInfraFilterInput';
2
2
  import type { InfraIdentifiers } from '../schemas/InfraIdentifiers';
3
3
  import type { InfraInfraType } from '../schemas/InfraInfraType';
4
4
  import type { InfraPagination } from '../schemas/InfraPagination';
5
+ import type { InfraV2SortInput } from '../schemas/InfraV2SortInput';
5
6
  export interface InfraListInfraRequest {
6
7
  /**
7
8
  * CorrelationID for the request
@@ -31,4 +32,8 @@ export interface InfraListInfraRequest {
31
32
  * Details for fetching paginated data
32
33
  */
33
34
  pagination?: InfraPagination;
35
+ /**
36
+ * Sort the infrastructures based on field
37
+ */
38
+ sort?: InfraV2SortInput;
34
39
  }
@@ -4,10 +4,26 @@ export interface InfraRegisterInfraUserInputs {
4
4
  * The interval at which abort is polled for a running task
5
5
  */
6
6
  abortPollInterval?: string;
7
+ /**
8
+ * Name of the log file directory
9
+ */
10
+ chaosInfrastructureLogFileDirectory?: string;
11
+ /**
12
+ * Maximum number of log file backups
13
+ */
14
+ chaosInfrastructureLogFileMaxBackups?: number;
15
+ /**
16
+ * Maximum size of log file in MB
17
+ */
18
+ chaosInfrastructureLogFileMaxSize?: number;
7
19
  /**
8
20
  * TLS certificate to be used with the infrastructure
9
21
  */
10
22
  customTlsCertificate?: string;
23
+ /**
24
+ * Maximum age of log file in days
25
+ */
26
+ experimentLogFileMaxAgeDays?: number;
11
27
  /**
12
28
  * The timeout duration for the infrastructure http client
13
29
  */
@@ -0,0 +1,13 @@
1
+ import type { InfraIdentifiers } from '../schemas/InfraIdentifiers';
2
+ import type { InfraInfraType } from '../schemas/InfraInfraType';
3
+ export interface InfraUpdateInfraRequest {
4
+ correlationID?: string;
5
+ description?: string;
6
+ environmentID?: string;
7
+ identifier?: InfraIdentifiers;
8
+ infraID?: string;
9
+ infraType?: InfraInfraType;
10
+ name?: string;
11
+ tags?: string[];
12
+ userID?: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ export interface InfraUpdateInfraResponse {
2
+ correlationID?: string;
3
+ message?: 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,7 +1,9 @@
1
1
  import type { InfraV2InfraScope } from '../schemas/InfraV2InfraScope';
2
2
  import type { InfraV2InfraTypeFilter } from '../schemas/InfraV2InfraTypeFilter';
3
3
  export interface InfraV2KubernetesInfraV2FilterInput {
4
+ environmentIDs?: string[];
4
5
  infraScope?: InfraV2InfraScope;
5
6
  infraTypeFilter?: InfraV2InfraTypeFilter;
7
+ status?: string;
6
8
  tags?: string[];
7
9
  }
@@ -1,6 +1,8 @@
1
1
  import type { InfraV2KubernetesInfraV2FilterInput } from '../schemas/InfraV2KubernetesInfraV2FilterInput';
2
2
  import type { InfraV2Identifiers } from '../schemas/InfraV2Identifiers';
3
+ import type { InfraV2SortInput } from '../schemas/InfraV2SortInput';
3
4
  export interface InfraV2ListKubernetesInfraV2Request {
4
5
  filter?: InfraV2KubernetesInfraV2FilterInput;
5
6
  identifier?: InfraV2Identifiers;
7
+ sort?: InfraV2SortInput;
6
8
  }
@@ -0,0 +1,11 @@
1
+ import type { InfraV2SortingField } from '../schemas/InfraV2SortingField';
2
+ export interface InfraV2SortInput {
3
+ /**
4
+ * Bool value indicating whether the sorting will be done in ascending order
5
+ */
6
+ ascending?: boolean;
7
+ /**
8
+ * Field in which sorting will be done
9
+ */
10
+ field?: InfraV2SortingField;
11
+ }
@@ -0,0 +1 @@
1
+ export type InfraV2SortingField = 'LAST_MODIFIED' | 'NAME';
@@ -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,22 @@
1
+ export interface ModelGetInfraStatsResponse {
2
+ /**
3
+ * Total number of active infrastructures
4
+ */
5
+ totalActiveInfrastructure?: number;
6
+ /**
7
+ * Total number of confirmed infrastructures
8
+ */
9
+ totalConfirmedInfrastructure?: number;
10
+ /**
11
+ * Total number of inactive infrastructures
12
+ */
13
+ totalInactiveInfrastructures?: number;
14
+ /**
15
+ * Total number of infrastructures
16
+ */
17
+ totalInfrastructures?: number;
18
+ /**
19
+ * Total number of non confirmed infrastructures
20
+ */
21
+ totalNonConfirmedInfrastructures?: number;
22
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface ModelInfraVersionDetails {
2
+ /**
3
+ * List of all infra versions supported
4
+ */
5
+ compatibleVersions?: string[];
6
+ /**
7
+ * Latest infra version supported
8
+ */
9
+ latestVersion?: string;
10
+ }
@@ -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
+ export interface ModelToleration {
2
+ effect?: string;
3
+ key?: string;
4
+ operator?: string;
5
+ tolerationSeconds?: number;
6
+ value?: string;
7
+ }
@@ -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,22 @@
1
+ export interface ModelUpdateInfraRequest {
2
+ /**
3
+ * Description of the infra
4
+ */
5
+ description?: string;
6
+ /**
7
+ * Environment ID for the infra
8
+ */
9
+ environmentID?: string;
10
+ /**
11
+ * ID of the infrastructure to be updated
12
+ */
13
+ infraID?: string;
14
+ /**
15
+ * Name of the infra
16
+ */
17
+ name?: string;
18
+ /**
19
+ * Tags of the infra
20
+ */
21
+ tags?: string[];
22
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -8,7 +8,7 @@ export interface PipelineonboardingPipelineChaosOnboardingStatusResponse {
8
8
  /**
9
9
  * Advance Configurations
10
10
  */
11
- chaosInfraAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
11
+ chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
12
12
  createdAt?: number;
13
13
  createdBy?: string;
14
14
  discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
@@ -1,7 +1,7 @@
1
1
  import type { V2OnboardingChaosInfraAdvanceConfiguration } from '../schemas/V2OnboardingChaosInfraAdvanceConfiguration';
2
2
  import type { DatabaseAgentConfiguration } from '../schemas/DatabaseAgentConfiguration';
3
3
  export interface PipelineonboardingPipelineChaosOnboardingTaskRequest {
4
- chaosInfraAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
4
+ chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
5
5
  discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
6
6
  isAIEnabled?: boolean;
7
7
  pipelineIdentity?: string;
@@ -7,7 +7,7 @@ export interface PipelineonboardingPipelineOnboarding {
7
7
  /**
8
8
  * Advance Configurations
9
9
  */
10
- chaosInfraAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
10
+ chaosAdvanceConfiguration?: V2OnboardingChaosInfraAdvanceConfiguration;
11
11
  createdAt?: number;
12
12
  createdBy?: string;
13
13
  discoveryAdvanceConfiguration?: DatabaseAgentConfiguration;
@@ -3,12 +3,12 @@ import type { SecurityGovernanceInfraType } from '../schemas/SecurityGovernanceI
3
3
  import type { SecurityGovernanceK8sSpec } from '../schemas/SecurityGovernanceK8sSpec';
4
4
  import type { SecurityGovernanceMachineSpec } from '../schemas/SecurityGovernanceMachineSpec';
5
5
  export interface SecurityGovernanceCondition {
6
- conditionId?: string;
6
+ conditionId: string;
7
7
  description?: string;
8
- faultSpec?: SecurityGovernanceFaultSpec;
9
- infraType?: SecurityGovernanceInfraType;
8
+ faultSpec: SecurityGovernanceFaultSpec;
9
+ infraType: SecurityGovernanceInfraType;
10
10
  k8sSpec?: SecurityGovernanceK8sSpec;
11
11
  machineSpec?: SecurityGovernanceMachineSpec;
12
- name?: string;
12
+ name: string;
13
13
  tags?: string[];
14
14
  }
@@ -1,5 +1,5 @@
1
1
  import type { SecurityGovernanceRecurrenceSpec } from '../schemas/SecurityGovernanceRecurrenceSpec';
2
2
  export interface SecurityGovernanceRecurrence {
3
3
  spec?: SecurityGovernanceRecurrenceSpec;
4
- type?: string;
4
+ type: 'Daily' | 'Monthly' | 'None' | 'Weekly' | 'Yearly';
5
5
  }
@@ -3,6 +3,6 @@ export interface SecurityGovernanceTimeWindow {
3
3
  duration?: string;
4
4
  endTime?: number;
5
5
  recurrence?: SecurityGovernanceRecurrence;
6
- startTime?: number;
7
- timeZone?: string;
6
+ startTime: number;
7
+ timeZone: string;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.29.0",
3
+ "version": "1.30.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",