@harnessio/react-chaos-manager-client 1.21.1 → 1.23.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 (137) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCompareExperimentTemplateRevisionsQuery.d.ts +31 -0
  2. package/dist/chaos-manager/src/services/hooks/useCompareExperimentTemplateRevisionsQuery.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.d.ts +34 -0
  4. package/dist/chaos-manager/src/services/hooks/useCreateExperimentFromTemplateMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.d.ts +30 -0
  6. package/dist/chaos-manager/src/services/hooks/useCreateExperimentTemplateMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.d.ts +30 -0
  8. package/dist/chaos-manager/src/services/hooks/useDeleteExperimentTemplateMutation.js +14 -0
  9. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.d.ts +30 -0
  10. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.d.ts +43 -0
  12. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateRevisionsQuery.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +30 -0
  14. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +30 -0
  16. package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +40 -0
  18. package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.js +14 -0
  19. package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.d.ts +33 -0
  20. package/dist/chaos-manager/src/services/hooks/useUpdateExperimentTemplateMutation.js +14 -0
  21. package/dist/chaos-manager/src/services/index.d.ts +59 -2
  22. package/dist/chaos-manager/src/services/index.js +10 -0
  23. package/dist/chaos-manager/src/services/schemas/ActionsIdentifiers.d.ts +5 -0
  24. package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +3 -3
  25. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +4 -0
  26. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +28 -0
  27. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.js +1 -0
  28. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCompareRevisions.d.ts +5 -0
  29. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +6 -0
  30. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.js +4 -0
  31. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.d.ts +3 -0
  32. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateRequest.js +4 -0
  33. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.d.ts +14 -0
  34. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentTemplateResponse.js +1 -0
  35. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.d.ts +7 -0
  36. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateVariables.js +1 -0
  37. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.d.ts +4 -0
  38. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateExperimentTemplateYaml.js +4 -0
  39. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.d.ts +14 -0
  40. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateGetExperimentTemplateResponse.js +1 -0
  41. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.d.ts +7 -0
  42. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateListExperimentTemplateResponse.js +1 -0
  43. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.d.ts +3 -0
  44. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateRequest.js +4 -0
  45. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.d.ts +14 -0
  46. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateUpdateExperimentTemplateResponse.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.d.ts +5 -0
  48. package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateVariable.js +1 -0
  49. package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +1 -1
  50. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +4 -2
  51. package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultResponse.d.ts +4 -2
  52. package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +1 -0
  53. package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +4 -2
  54. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultRequest.d.ts +4 -2
  55. package/dist/chaos-manager/src/services/schemas/ChaosfaultUpdateFaultResponse.d.ts +4 -2
  56. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +2 -0
  57. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +4 -0
  58. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +4 -2
  59. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +4 -2
  60. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +4 -2
  61. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +2 -0
  62. package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.d.ts +4 -0
  63. package/dist/chaos-manager/src/services/schemas/ExperimentApiAuth.js +4 -0
  64. package/dist/chaos-manager/src/services/schemas/ExperimentAuth.d.ts +16 -0
  65. package/dist/chaos-manager/src/services/schemas/ExperimentAuth.js +1 -0
  66. package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.d.ts +1 -0
  67. package/dist/chaos-manager/src/services/schemas/ExperimentAuthType.js +4 -0
  68. package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.d.ts +1 -0
  69. package/dist/chaos-manager/src/services/schemas/ExperimentCleanupPolicy.js +4 -0
  70. package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +2 -0
  71. package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.d.ts +4 -0
  72. package/dist/chaos-manager/src/services/schemas/ExperimentRedisAuth.js +4 -0
  73. package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.d.ts +4 -0
  74. package/dist/chaos-manager/src/services/schemas/ExperimentSshFaultAuth.js +4 -0
  75. package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.d.ts +6 -0
  76. package/dist/chaos-manager/src/services/schemas/ExperimentVmWareAuth.js +4 -0
  77. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.d.ts +10 -0
  78. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateAction.js +1 -0
  79. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +9 -0
  80. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.js +1 -0
  81. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.d.ts +14 -0
  82. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbe.js +1 -0
  83. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.d.ts +3 -0
  84. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateProbeConditions.js +4 -0
  85. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.d.ts +17 -0
  86. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateSpec.js +1 -0
  87. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.d.ts +4 -0
  88. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateStatusCheckTimeout.js +4 -0
  89. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.d.ts +6 -0
  90. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertex.js +1 -0
  91. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.d.ts +6 -0
  92. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexChild.js +1 -0
  93. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.d.ts +3 -0
  94. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateVertexResource.js +4 -0
  95. package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.d.ts +14 -0
  96. package/dist/chaos-manager/src/services/schemas/FaulttemplateAuth.js +1 -0
  97. package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.d.ts +3 -0
  98. package/dist/chaos-manager/src/services/schemas/FaulttemplateAwsAuth.js +4 -0
  99. package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.d.ts +3 -0
  100. package/dist/chaos-manager/src/services/schemas/FaulttemplateAzureAuth.js +4 -0
  101. package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +6 -0
  102. package/dist/chaos-manager/src/services/schemas/FaulttemplateFaultTemplate.d.ts +4 -2
  103. package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.d.ts +3 -0
  104. package/dist/chaos-manager/src/services/schemas/FaulttemplateGcpAuth.js +4 -0
  105. package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.d.ts +3 -0
  106. package/dist/chaos-manager/src/services/schemas/FaulttemplateRedisAuth.js +4 -0
  107. package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.d.ts +4 -0
  108. package/dist/chaos-manager/src/services/schemas/FaulttemplateSshAuth.js +4 -0
  109. package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.d.ts +4 -0
  110. package/dist/chaos-manager/src/services/schemas/FaulttemplateStatusCheckTimeout.js +4 -0
  111. package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.d.ts +5 -0
  112. package/dist/chaos-manager/src/services/schemas/FaulttemplateTls.js +4 -0
  113. package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.d.ts +6 -0
  114. package/dist/chaos-manager/src/services/schemas/FaulttemplateVmWareAuth.js +4 -0
  115. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +4 -0
  116. package/dist/chaos-manager/src/services/schemas/ProbeAuthorization.d.ts +0 -1
  117. package/dist/chaos-manager/src/services/schemas/ProbeAuthorizationTemplate.d.ts +0 -1
  118. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
  119. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -2
  120. package/dist/chaos-manager/src/services/schemas/TemplateVariableCategory.d.ts +1 -1
  121. package/dist/chaos-manager/src/services/schemas/TemplateVariableMinimum.d.ts +2 -2
  122. package/dist/chaos-manager/src/services/schemas/TemplateVariableType.d.ts +1 -1
  123. package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.d.ts +5 -0
  124. package/dist/chaos-manager/src/services/schemas/TypesIdentifiers.js +4 -0
  125. package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +3 -3
  126. package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.d.ts +0 -4
  127. package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +0 -1
  128. package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +0 -4
  129. package/dist/chaos-manager/src/services/schemas/V1NewrelicInputs.d.ts +0 -4
  130. package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.d.ts +2 -6
  131. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +0 -4
  132. package/dist/custom-fetcher/index.js +17 -5
  133. package/package.json +1 -1
  134. package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.d.ts +0 -5
  135. package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +0 -14
  136. /package/dist/chaos-manager/src/services/schemas/{MongodbIdentifiers.js → ActionsIdentifiers.js} +0 -0
  137. /package/dist/chaos-manager/src/services/schemas/{V1ApmProbeTlsConfig.js → ChaosexperimenttemplateCompareRevisions.js} +0 -0
@@ -1,3 +1,4 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
1
2
  import type { ChaosfaulttemplateLink } from '../schemas/ChaosfaulttemplateLink';
2
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
3
4
  export interface ChaosfaulttemplateChaosFaultTemplate {
@@ -5,6 +6,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
5
6
  category?: string[];
6
7
  createdAt?: number;
7
8
  createdBy?: string;
9
+ createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
8
10
  description?: string;
9
11
  /**
10
12
  * Hub identity of the fault
@@ -21,6 +23,7 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
21
23
  infraType?: string;
22
24
  infras?: string[];
23
25
  isDefault?: boolean;
26
+ isEnterprise?: boolean;
24
27
  isRemoved: boolean;
25
28
  links?: ChaosfaulttemplateLink[];
26
29
  name: string;
@@ -35,5 +38,6 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
35
38
  type?: string;
36
39
  updatedAt?: number;
37
40
  updatedBy?: string;
41
+ updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
38
42
  variables?: TemplateVariable[];
39
43
  }
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateRequest {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  description?: string;
7
- identity?: string;
8
+ identity: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
10
11
  isDefault?: boolean;
11
12
  keywords?: string[];
13
+ kind?: string;
12
14
  links?: FaulttemplateLink[];
13
- name?: string;
15
+ name: string;
14
16
  permissionsRequired?: string;
15
17
  platforms?: string[];
16
18
  revision?: string;
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateCreateFaultTemplateResponse {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  correlationID?: string;
7
8
  description?: string;
8
9
  hubIdentity?: string;
9
- identity?: string;
10
+ identity: string;
10
11
  infraType?: string;
11
12
  infras?: string[];
12
13
  isDefault?: boolean;
13
14
  keywords?: string[];
15
+ kind?: string;
14
16
  links?: FaulttemplateLink[];
15
- name?: string;
17
+ name: string;
16
18
  permissionsRequired?: string;
17
19
  platforms?: string[];
18
20
  revision?: string;
@@ -2,17 +2,19 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  correlationID?: string;
7
8
  description?: string;
8
9
  hubIdentity?: string;
9
- identity?: string;
10
+ identity: string;
10
11
  infraType?: string;
11
12
  infras?: string[];
12
13
  isDefault?: boolean;
13
14
  keywords?: string[];
15
+ kind?: string;
14
16
  links?: FaulttemplateLink[];
15
- name?: string;
17
+ name: string;
16
18
  permissionsRequired?: string;
17
19
  platforms?: string[];
18
20
  revision?: string;
@@ -8,8 +8,10 @@ export interface ChaosprobetemplateProbeTemplate {
8
8
  hubRef?: string;
9
9
  identity?: string;
10
10
  infrastructureType?: ProbeInfrastructureType;
11
+ isDefault?: boolean;
11
12
  name: string;
12
13
  probeProperties?: ProbeProbeTemplateProperties;
14
+ revision?: number;
13
15
  runProperties?: ProbeProbeTemplateRunProperties;
14
16
  tags?: string[];
15
17
  type?: ProbeProbeType;
@@ -0,0 +1,4 @@
1
+ export interface ExperimentApiAuth {
2
+ caCert?: string;
3
+ serverCert?: 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,16 @@
1
+ import type { ExperimentApiAuth } from '../schemas/ExperimentApiAuth';
2
+ import type { ExperimentRedisAuth } from '../schemas/ExperimentRedisAuth';
3
+ import type { ExperimentSshFaultAuth } from '../schemas/ExperimentSshFaultAuth';
4
+ import type { ExperimentAuthType } from '../schemas/ExperimentAuthType';
5
+ import type { ExperimentVmWareAuth } from '../schemas/ExperimentVmWareAuth';
6
+ export interface ExperimentAuth {
7
+ api?: ExperimentApiAuth;
8
+ aws?: string;
9
+ azure?: string;
10
+ gcp?: string;
11
+ nodeRestart?: string;
12
+ redisAuth?: ExperimentRedisAuth;
13
+ ssh?: ExperimentSshFaultAuth;
14
+ type?: ExperimentAuthType;
15
+ vmware?: ExperimentVmWareAuth;
16
+ }
@@ -0,0 +1 @@
1
+ export type ExperimentAuthType = 'API' | 'AWS' | 'Azure' | 'GCP' | 'NodeRestart' | 'Redis' | 'SSH' | 'VMWare';
@@ -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 @@
1
+ export type ExperimentCleanupPolicy = 'delete' | 'retain';
@@ -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,3 +1,4 @@
1
+ import type { ExperimentAuth } from '../schemas/ExperimentAuth';
1
2
  import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
2
3
  import type { ExperimentHelperConfig } from '../schemas/ExperimentHelperConfig';
3
4
  import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
@@ -10,6 +11,7 @@ import type { ExperimentSidecar } from '../schemas/ExperimentSidecar';
10
11
  import type { ExperimentStatusCheckTimeout } from '../schemas/ExperimentStatusCheckTimeout';
11
12
  import type { V1Toleration } from '../schemas/V1Toleration';
12
13
  export interface ExperimentExperimentComponents {
14
+ auth?: ExperimentAuth;
13
15
  configMaps?: ExperimentConfigMap[];
14
16
  helper?: ExperimentHelperConfig;
15
17
  hostFileVolumes?: ExperimentHostFile[];
@@ -0,0 +1,4 @@
1
+ export interface ExperimentRedisAuth {
2
+ password?: string;
3
+ tlsFile?: 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,4 @@
1
+ export interface ExperimentSshFaultAuth {
2
+ key?: string;
3
+ password?: 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,6 @@
1
+ export interface ExperimentVmWareAuth {
2
+ vCenterPassword?: string;
3
+ vCenterServer?: string;
4
+ vCenterUsername?: string;
5
+ vmPassword?: string;
6
+ }
@@ -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
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ export interface ExperimenttemplateAction {
3
+ continueOnCompletion?: boolean;
4
+ identity?: string;
5
+ infraId?: string;
6
+ isEnterprise?: boolean;
7
+ name?: string;
8
+ revision?: number;
9
+ values?: TemplateVariableMinimum[];
10
+ }
@@ -0,0 +1,9 @@
1
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
+ export interface ExperimenttemplateFault {
3
+ identity?: string;
4
+ infraId?: string;
5
+ isEnterprise?: boolean;
6
+ name?: string;
7
+ revision?: string;
8
+ values?: TemplateVariableMinimum[];
9
+ }
@@ -0,0 +1,14 @@
1
+ import type { ExperimenttemplateProbeConditions } from '../schemas/ExperimenttemplateProbeConditions';
2
+ import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
3
+ export interface ExperimenttemplateProbe {
4
+ conditions?: ExperimenttemplateProbeConditions[];
5
+ duration?: string;
6
+ enableDataCollection?: boolean;
7
+ identity?: string;
8
+ infraId?: string;
9
+ isEnterprise?: boolean;
10
+ name?: string;
11
+ revision?: number;
12
+ values?: TemplateVariableMinimum[];
13
+ weightage?: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExperimenttemplateProbeConditions {
2
+ executeUpon?: string;
3
+ }
@@ -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,17 @@
1
+ import type { ExperimenttemplateAction } from '../schemas/ExperimenttemplateAction';
2
+ import type { ExperimentCleanupPolicy } from '../schemas/ExperimentCleanupPolicy';
3
+ import type { ExperimenttemplateFault } from '../schemas/ExperimenttemplateFault';
4
+ import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
5
+ import type { ExperimenttemplateProbe } from '../schemas/ExperimenttemplateProbe';
6
+ import type { ExperimenttemplateStatusCheckTimeout } from '../schemas/ExperimenttemplateStatusCheckTimeout';
7
+ import type { ExperimenttemplateVertex } from '../schemas/ExperimenttemplateVertex';
8
+ export interface ExperimenttemplateSpec {
9
+ actions?: ExperimenttemplateAction[];
10
+ cleanupPolicy?: ExperimentCleanupPolicy;
11
+ faults?: ExperimenttemplateFault[];
12
+ infraId?: string;
13
+ infraType: ExperimentInfraType;
14
+ probes?: ExperimenttemplateProbe[];
15
+ statusCheckTimeouts?: ExperimenttemplateStatusCheckTimeout;
16
+ vertices?: ExperimenttemplateVertex[];
17
+ }
@@ -0,0 +1,4 @@
1
+ export interface ExperimenttemplateStatusCheckTimeout {
2
+ delay?: number;
3
+ timeout?: number;
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,6 @@
1
+ import type { ExperimenttemplateVertexChild } from '../schemas/ExperimenttemplateVertexChild';
2
+ export interface ExperimenttemplateVertex {
3
+ end?: ExperimenttemplateVertexChild;
4
+ name: string;
5
+ start?: ExperimenttemplateVertexChild;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { ExperimenttemplateVertexResource } from '../schemas/ExperimenttemplateVertexResource';
2
+ export interface ExperimenttemplateVertexChild {
3
+ actions?: ExperimenttemplateVertexResource[];
4
+ faults?: ExperimenttemplateVertexResource[];
5
+ probes?: ExperimenttemplateVertexResource[];
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExperimenttemplateVertexResource {
2
+ name: string;
3
+ }
@@ -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 { FaulttemplateAwsAuth } from '../schemas/FaulttemplateAwsAuth';
2
+ import type { FaulttemplateAzureAuth } from '../schemas/FaulttemplateAzureAuth';
3
+ import type { FaulttemplateGcpAuth } from '../schemas/FaulttemplateGcpAuth';
4
+ import type { FaulttemplateRedisAuth } from '../schemas/FaulttemplateRedisAuth';
5
+ import type { FaulttemplateSshAuth } from '../schemas/FaulttemplateSshAuth';
6
+ import type { FaulttemplateVmWareAuth } from '../schemas/FaulttemplateVmWareAuth';
7
+ export interface FaulttemplateAuth {
8
+ aws?: FaulttemplateAwsAuth;
9
+ azure?: FaulttemplateAzureAuth;
10
+ gcp?: FaulttemplateGcpAuth;
11
+ redis?: FaulttemplateRedisAuth;
12
+ ssh?: FaulttemplateSshAuth;
13
+ vmware?: FaulttemplateVmWareAuth;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface FaulttemplateAwsAuth {
2
+ identifier?: string;
3
+ }
@@ -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,3 @@
1
+ export interface FaulttemplateAzureAuth {
2
+ identifier?: string;
3
+ }
@@ -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,13 @@
1
+ import type { FaulttemplateAuth } from '../schemas/FaulttemplateAuth';
1
2
  import type { FaulttemplateChaosKubernetesSpec } from '../schemas/FaulttemplateChaosKubernetesSpec';
2
3
  import type { FaulttemplateChaosParameter } from '../schemas/FaulttemplateChaosParameter';
4
+ import type { FaulttemplateStatusCheckTimeout } from '../schemas/FaulttemplateStatusCheckTimeout';
5
+ import type { FaulttemplateTls } from '../schemas/FaulttemplateTls';
3
6
  export interface FaulttemplateChaosSpec {
7
+ auth?: FaulttemplateAuth;
4
8
  faultName?: string;
5
9
  kubernetes?: FaulttemplateChaosKubernetesSpec;
6
10
  params?: FaulttemplateChaosParameter[];
11
+ statusCheckTimeouts?: FaulttemplateStatusCheckTimeout;
12
+ tls?: FaulttemplateTls;
7
13
  }
@@ -2,15 +2,17 @@ import type { FaulttemplateLink } from '../schemas/FaulttemplateLink';
2
2
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
3
3
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
4
  export interface FaulttemplateFaultTemplate {
5
+ apiVersion?: string;
5
6
  category?: string[];
6
7
  description?: string;
7
- identity?: string;
8
+ identity: string;
8
9
  infraType?: string;
9
10
  infras?: string[];
10
11
  isDefault?: boolean;
11
12
  keywords?: string[];
13
+ kind?: string;
12
14
  links?: FaulttemplateLink[];
13
- name?: string;
15
+ name: string;
14
16
  permissionsRequired?: string;
15
17
  platforms?: string[];
16
18
  revision?: string;
@@ -0,0 +1,3 @@
1
+ export interface FaulttemplateGcpAuth {
2
+ identifier?: string;
3
+ }
@@ -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,3 @@
1
+ export interface FaulttemplateRedisAuth {
2
+ password?: string;
3
+ }
@@ -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,4 @@
1
+ export interface FaulttemplateSshAuth {
2
+ key?: string;
3
+ password?: 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,4 @@
1
+ export interface FaulttemplateStatusCheckTimeout {
2
+ delay?: number;
3
+ timeout?: number;
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,5 @@
1
+ export interface FaulttemplateTls {
2
+ caFile?: string;
3
+ certFile?: string;
4
+ keyFile?: 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 {};
@@ -0,0 +1,6 @@
1
+ export interface FaulttemplateVmWareAuth {
2
+ vCenterPassword?: string;
3
+ vCenterServer?: string;
4
+ vCenterUsername?: string;
5
+ vmPassword?: string;
6
+ }
@@ -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,3 +1,4 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
1
2
  import type { ProbeInfrastructureType } from '../schemas/ProbeInfrastructureType';
2
3
  import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
3
4
  import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
@@ -7,6 +8,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
7
8
  accountID: string;
8
9
  createdAt?: number;
9
10
  createdBy?: string;
11
+ createdByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
10
12
  description?: string;
11
13
  hubRef?: string;
12
14
  id?: string;
@@ -21,6 +23,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
21
23
  * for predefined faults, latest should be set as default
22
24
  */
23
25
  isDefault?: boolean;
26
+ isEnterprise?: boolean;
24
27
  isRemoved: boolean;
25
28
  name: string;
26
29
  orgID?: string;
@@ -36,5 +39,6 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprob
36
39
  type?: ProbeProbeType;
37
40
  updatedAt?: number;
38
41
  updatedBy?: string;
42
+ updatedByUserDetails?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
39
43
  variables?: TemplateVariable[];
40
44
  }
@@ -1,5 +1,4 @@
1
1
  export interface ProbeAuthorization {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  export interface ProbeAuthorizationTemplate {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: string;
2
+ Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
3
3
  }
@@ -5,12 +5,12 @@ export interface TemplateVariable {
5
5
  category?: TemplateVariableCategory;
6
6
  default?: {};
7
7
  description?: string;
8
- name?: string;
8
+ name: string;
9
9
  path?: string;
10
10
  required?: boolean;
11
11
  stringify?: boolean;
12
12
  tags?: string[];
13
13
  type?: TemplateVariableType;
14
14
  validator?: string;
15
- value?: {};
15
+ value: {};
16
16
  }
@@ -1 +1 @@
1
- export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
1
+ export type TemplateVariableCategory = 'ActionProperties' | 'ExperimentTunable' | 'FaultAuthentication' | 'FaultTarget' | 'FaultTunable' | 'ProbeProperties' | 'RunProperties' | 'TargetInfra';
@@ -1,4 +1,4 @@
1
1
  export interface TemplateVariableMinimum {
2
- name?: string;
3
- value?: {};
2
+ name: string;
3
+ value: {};
4
4
  }
@@ -1 +1 @@
1
- export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'String';
1
+ export type TemplateVariableType = 'Boolean' | 'Integer' | 'Number' | 'SecretFile' | 'SecretText' | 'String';
@@ -0,0 +1,5 @@
1
+ export interface TypesIdentifiers {
2
+ accountID?: string;
3
+ orgID?: string;
4
+ projectID?: 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 {};
@@ -1,9 +1,9 @@
1
- import type { MongodbIdentifiers } from '../schemas/MongodbIdentifiers';
1
+ import type { TypesIdentifiers } from '../schemas/TypesIdentifiers';
2
2
  import type { MongodbImportType } from '../schemas/MongodbImportType';
3
3
  export interface TypesImportProbeTemplateRequest {
4
4
  description?: string;
5
- hubIdentifiers?: MongodbIdentifiers;
6
- hubRef: string;
5
+ hubIdentifiers?: TypesIdentifiers;
6
+ hubRef?: string;
7
7
  identity: string;
8
8
  importType: MongodbImportType;
9
9
  name: string;
@@ -4,10 +4,6 @@ export interface V1AppDynamicsInputs {
4
4
  * AppdMetrics contains the appd metrics
5
5
  */
6
6
  appdMetrics?: V1AppdMetrics;
7
- /**
8
- * AuthSecretName secret name for the authentication
9
- */
10
- authSecretName?: string;
11
7
  /**
12
8
  * Endpoint for the AppDynamics probe
13
9
  */
@@ -1,5 +1,4 @@
1
1
  export interface V1Authorization {
2
2
  credentials?: string;
3
- credentialsFile?: string;
4
3
  type?: string;
5
4
  }