@harnessio/react-chaos-manager-client 1.24.0 → 1.26.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 (30) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +1 -0
  2. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +24 -0
  3. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.js +14 -0
  4. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +2 -1
  5. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.js +1 -1
  6. package/dist/chaos-manager/src/services/hooks/useHealthCheckV3Query.d.ts +21 -0
  7. package/dist/chaos-manager/src/services/hooks/useHealthCheckV3Query.js +14 -0
  8. package/dist/chaos-manager/src/services/index.d.ts +10 -1
  9. package/dist/chaos-manager/src/services/index.js +2 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +1 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosserviceusageOverallServiceUsageStats.d.ts +3 -3
  12. package/dist/chaos-manager/src/services/schemas/ChaosserviceusagePeriodicStats.d.ts +4 -2
  13. package/dist/chaos-manager/src/services/schemas/{ChaosserviceusageServiceStatsByType.d.ts → ChaosserviceusageStatsByType.d.ts} +1 -1
  14. package/dist/chaos-manager/src/services/schemas/ExperimenttemplateFault.d.ts +1 -0
  15. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs.d.ts +6 -0
  16. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs.js +1 -0
  17. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs.d.ts +6 -0
  18. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs.js +1 -0
  19. package/dist/chaos-manager/src/services/schemas/HealthHealthCheckResponse.d.ts +4 -0
  20. package/dist/chaos-manager/src/services/schemas/HealthHealthCheckResponse.js +4 -0
  21. package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
  22. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
  23. package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
  24. package/dist/chaos-manager/src/services/schemas/SharedError.d.ts +5 -0
  25. package/dist/chaos-manager/src/services/schemas/SharedError.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
  27. package/dist/chaos-manager/src/services/schemas/V1GcpCloudMonitoringInputs.d.ts +11 -0
  28. package/dist/chaos-manager/src/services/schemas/V1GcpCloudMonitoringInputs.js +4 -0
  29. package/package.json +1 -1
  30. /package/dist/chaos-manager/src/services/schemas/{ChaosserviceusageServiceStatsByType.js → ChaosserviceusageStatsByType.js} +0 -0
@@ -8,6 +8,7 @@ export interface GetAccountServiceUsageStatsQueryQueryParams {
8
8
  groupBy: string;
9
9
  startTime: number;
10
10
  endTime: number;
11
+ cumulative?: boolean;
11
12
  }
12
13
  export type GetAccountServiceUsageStatsOkResponse = ChaosserviceusageUsageStats;
13
14
  export type GetAccountServiceUsageStatsErrorResponse = unknown;
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
3
+ export interface GetExperimentationActivityReportQueryPathParams {
4
+ accountID: string;
5
+ }
6
+ export interface GetExperimentationActivityReportQueryQueryParams {
7
+ startTime: number;
8
+ endTime: number;
9
+ cumulate?: boolean;
10
+ }
11
+ export type GetExperimentationActivityReportOkResponse = Array<string[]>;
12
+ export type GetExperimentationActivityReportErrorResponse = unknown;
13
+ export interface GetExperimentationActivityReportProps extends GetExperimentationActivityReportQueryPathParams, Omit<FetcherOptions<GetExperimentationActivityReportQueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetExperimentationActivityReportQueryQueryParams;
15
+ }
16
+ export interface GetExperimentationActivityReportResponseContainer {
17
+ body: GetExperimentationActivityReportOkResponse;
18
+ headers: Headers;
19
+ }
20
+ export declare function getExperimentationActivityReport(props: GetExperimentationActivityReportProps): Promise<GetExperimentationActivityReportResponseContainer>;
21
+ /**
22
+ * Generates experimentation activity report for account in a given timeframe
23
+ */
24
+ export declare function useGetExperimentationActivityReportQuery(props: GetExperimentationActivityReportProps, options?: Omit<UseQueryOptions<GetExperimentationActivityReportResponseContainer, GetExperimentationActivityReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetExperimentationActivityReportResponseContainer, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../custom-fetcher/index.js';
6
+ export function getExperimentationActivityReport(props) {
7
+ return fetcher(Object.assign({ url: `/rest/service/experimentation/report/${props.accountID}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Generates experimentation activity report for account in a given timeframe
11
+ */
12
+ export function useGetExperimentationActivityReportQuery(props, options) {
13
+ return useQuery(['getExperimentationActivityReport', props.accountID, props.queryParams], ({ signal }) => getExperimentationActivityReport(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -6,6 +6,7 @@ export interface GetServiceUsageReportQueryPathParams {
6
6
  export interface GetServiceUsageReportQueryQueryParams {
7
7
  startTime: number;
8
8
  endTime: number;
9
+ cumulate?: boolean;
9
10
  }
10
11
  export type GetServiceUsageReportOkResponse = Array<string[]>;
11
12
  export type GetServiceUsageReportErrorResponse = unknown;
@@ -18,6 +19,6 @@ export interface GetServiceUsageReportResponseContainer {
18
19
  }
19
20
  export declare function getServiceUsageReport(props: GetServiceUsageReportProps): Promise<GetServiceUsageReportResponseContainer>;
20
21
  /**
21
- * Generates service usage report for account in a given timeframe in csv format
22
+ * Generates service usage report for account in a given timeframe
22
23
  */
23
24
  export declare function useGetServiceUsageReportQuery(props: GetServiceUsageReportProps, options?: Omit<UseQueryOptions<GetServiceUsageReportResponseContainer, GetServiceUsageReportErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceUsageReportResponseContainer, unknown>;
@@ -7,7 +7,7 @@ export function getServiceUsageReport(props) {
7
7
  return fetcher(Object.assign({ url: `/rest/service/report/${props.accountID}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Generates service usage report for account in a given timeframe in csv format
10
+ * Generates service usage report for account in a given timeframe
11
11
  */
12
12
  export function useGetServiceUsageReportQuery(props, options) {
13
13
  return useQuery(['getServiceUsageReport', props.accountID, props.queryParams], ({ signal }) => getServiceUsageReport(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { HealthHealthCheckResponse } from '../schemas/HealthHealthCheckResponse';
3
+ import type { SharedError } from '../schemas/SharedError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface HealthCheckV3QueryQueryParams {
6
+ correlationID?: string;
7
+ }
8
+ export type HealthCheckV3OkResponse = HealthHealthCheckResponse;
9
+ export type HealthCheckV3ErrorResponse = SharedError;
10
+ export interface HealthCheckV3Props extends Omit<FetcherOptions<HealthCheckV3QueryQueryParams, unknown>, 'url'> {
11
+ queryParams: HealthCheckV3QueryQueryParams;
12
+ }
13
+ export interface HealthCheckV3ResponseContainer {
14
+ body: HealthCheckV3OkResponse;
15
+ headers: Headers;
16
+ }
17
+ export declare function healthCheckV3(props: HealthCheckV3Props): Promise<HealthCheckV3ResponseContainer>;
18
+ /**
19
+ * Health check
20
+ */
21
+ export declare function useHealthCheckV3Query(props: HealthCheckV3Props, options?: Omit<UseQueryOptions<HealthCheckV3ResponseContainer, HealthCheckV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<HealthCheckV3ResponseContainer, SharedError>;
@@ -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 healthCheckV3(props) {
7
+ return fetcher(Object.assign({ url: `/api/v3/health`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Health check
11
+ */
12
+ export function useHealthCheckV3Query(props, options) {
13
+ return useQuery(['healthCheckV3', props.queryParams], ({ signal }) => healthCheckV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -126,6 +126,8 @@ export type { GetExperimentTemplateVariablesErrorResponse, GetExperimentTemplate
126
126
  export { getExperimentTemplateVariables, useGetExperimentTemplateVariablesQuery, } from './hooks/useGetExperimentTemplateVariablesQuery';
127
127
  export type { GetExperimentTemplateYamlErrorResponse, GetExperimentTemplateYamlOkResponse, GetExperimentTemplateYamlProps, GetExperimentTemplateYamlQueryPathParams, GetExperimentTemplateYamlQueryQueryParams, } from './hooks/useGetExperimentTemplateYamlQuery';
128
128
  export { getExperimentTemplateYaml, useGetExperimentTemplateYamlQuery, } from './hooks/useGetExperimentTemplateYamlQuery';
129
+ export type { GetExperimentationActivityReportErrorResponse, GetExperimentationActivityReportOkResponse, GetExperimentationActivityReportProps, GetExperimentationActivityReportQueryPathParams, GetExperimentationActivityReportQueryQueryParams, } from './hooks/useGetExperimentationActivityReportQuery';
130
+ export { getExperimentationActivityReport, useGetExperimentationActivityReportQuery, } from './hooks/useGetExperimentationActivityReportQuery';
129
131
  export type { GetFaultErrorResponse, GetFaultOkResponse, GetFaultProps, GetFaultQueryPathParams, GetFaultQueryQueryParams, } from './hooks/useGetFaultQuery';
130
132
  export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
131
133
  export type { GetFaultTemplateErrorResponse, GetFaultTemplateOkResponse, GetFaultTemplateProps, GetFaultTemplateQueryPathParams, GetFaultTemplateQueryQueryParams, } from './hooks/useGetFaultTemplateQuery';
@@ -186,6 +188,8 @@ export type { GetV2InfrastructureYamlErrorResponse, GetV2InfrastructureYamlMutat
186
188
  export { getV2InfrastructureYaml, useGetV2InfrastructureYamlMutation, } from './hooks/useGetV2InfrastructureYamlMutation';
187
189
  export type { GetV2OnboardingErrorResponse, GetV2OnboardingOkResponse, GetV2OnboardingProps, GetV2OnboardingQueryPathParams, GetV2OnboardingQueryQueryParams, } from './hooks/useGetV2OnboardingQuery';
188
190
  export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2OnboardingQuery';
191
+ export type { HealthCheckV3ErrorResponse, HealthCheckV3OkResponse, HealthCheckV3Props, HealthCheckV3QueryQueryParams, } from './hooks/useHealthCheckV3Query';
192
+ export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
189
193
  export type { ImportActionErrorResponse, ImportActionMutationProps, ImportActionMutationQueryParams, ImportActionOkResponse, ImportActionProps, ImportActionRequestBody, } from './hooks/useImportActionMutation';
190
194
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
191
195
  export type { ImportProbeErrorResponse, ImportProbeMutationProps, ImportProbeMutationQueryParams, ImportProbeOkResponse, ImportProbeProps, ImportProbeRequestBody, } from './hooks/useImportProbeMutation';
@@ -458,8 +462,8 @@ export type { ChaosserviceusageOverallServiceUsageStats } from './schemas/Chaoss
458
462
  export type { ChaosserviceusagePeriodicStats } from './schemas/ChaosserviceusagePeriodicStats';
459
463
  export type { ChaosserviceusageServiceData } from './schemas/ChaosserviceusageServiceData';
460
464
  export type { ChaosserviceusageServiceDataResponse } from './schemas/ChaosserviceusageServiceDataResponse';
461
- export type { ChaosserviceusageServiceStatsByType } from './schemas/ChaosserviceusageServiceStatsByType';
462
465
  export type { ChaosserviceusageServiceType } from './schemas/ChaosserviceusageServiceType';
466
+ export type { ChaosserviceusageStatsByType } from './schemas/ChaosserviceusageStatsByType';
463
467
  export type { ChaosserviceusageUsageStats } from './schemas/ChaosserviceusageUsageStats';
464
468
  export type { CommonTypesExperimentRunStats } from './schemas/CommonTypesExperimentRunStats';
465
469
  export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperimentRunsData';
@@ -582,6 +586,7 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMet
582
586
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType';
583
587
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
584
588
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeEnv';
589
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs';
585
590
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet';
586
591
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders';
587
592
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier';
@@ -604,6 +609,7 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from
604
609
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType';
605
610
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
606
611
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeEnv';
612
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs';
607
613
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet';
608
614
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders';
609
615
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier';
@@ -627,6 +633,7 @@ export type { HandlersListExperimentsWithActiveInfrasMinimalNotificationResponse
627
633
  export type { HandlersMinimalNotificationWorkflow } from './schemas/HandlersMinimalNotificationWorkflow';
628
634
  export type { HandlersReferenceDto } from './schemas/HandlersReferenceDto';
629
635
  export type { HandlersUsageDataDto } from './schemas/HandlersUsageDataDto';
636
+ export type { HealthHealthCheckResponse } from './schemas/HealthHealthCheckResponse';
630
637
  export type { ImageRegistryCustomImagesRequest } from './schemas/ImageRegistryCustomImagesRequest';
631
638
  export type { ImageRegistryImageRegistryV2 } from './schemas/ImageRegistryImageRegistryV2';
632
639
  export type { ImageRegistryUserDetails } from './schemas/ImageRegistryUserDetails';
@@ -826,6 +833,7 @@ export type { SecurityGovernanceRecurrence } from './schemas/SecurityGovernanceR
826
833
  export type { SecurityGovernanceRecurrenceSpec } from './schemas/SecurityGovernanceRecurrenceSpec';
827
834
  export type { SecurityGovernanceTimeWindow } from './schemas/SecurityGovernanceTimeWindow';
828
835
  export type { SecurityGovernanceWorkload } from './schemas/SecurityGovernanceWorkload';
836
+ export type { SharedError } from './schemas/SharedError';
829
837
  export type { TargetnetworkmapExperimentCreationMode } from './schemas/TargetnetworkmapExperimentCreationMode';
830
838
  export type { TargetnetworkmapExperimentRunDetail } from './schemas/TargetnetworkmapExperimentRunDetail';
831
839
  export type { TargetnetworkmapStatus } from './schemas/TargetnetworkmapStatus';
@@ -946,6 +954,7 @@ export type { V1FieldsV1 } from './schemas/V1FieldsV1';
946
954
  export type { V1FlexVolumeSource } from './schemas/V1FlexVolumeSource';
947
955
  export type { V1FlockerVolumeSource } from './schemas/V1FlockerVolumeSource';
948
956
  export type { V1GcePersistentDiskVolumeSource } from './schemas/V1GcePersistentDiskVolumeSource';
957
+ export type { V1GcpCloudMonitoringInputs } from './schemas/V1GcpCloudMonitoringInputs';
949
958
  export type { V1GetMethod } from './schemas/V1GetMethod';
950
959
  export type { V1GitRepoVolumeSource } from './schemas/V1GitRepoVolumeSource';
951
960
  export type { V1GlusterfsVolumeSource } from './schemas/V1GlusterfsVolumeSource';
@@ -62,6 +62,7 @@ export { getExperimentTemplate, useGetExperimentTemplateQuery, } from './hooks/u
62
62
  export { getExperimentTemplateRevisions, useGetExperimentTemplateRevisionsQuery, } from './hooks/useGetExperimentTemplateRevisionsQuery';
63
63
  export { getExperimentTemplateVariables, useGetExperimentTemplateVariablesQuery, } from './hooks/useGetExperimentTemplateVariablesQuery';
64
64
  export { getExperimentTemplateYaml, useGetExperimentTemplateYamlQuery, } from './hooks/useGetExperimentTemplateYamlQuery';
65
+ export { getExperimentationActivityReport, useGetExperimentationActivityReportQuery, } from './hooks/useGetExperimentationActivityReportQuery';
65
66
  export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
66
67
  export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
67
68
  export { getFaultTemplateRevisions, useGetFaultTemplateRevisionsQuery, } from './hooks/useGetFaultTemplateRevisionsQuery';
@@ -92,6 +93,7 @@ export { getSgpTemplateByGenAi, useGetSgpTemplateByGenAiMutation, } from './hook
92
93
  export { getTargetNetworkMap, useGetTargetNetworkMapQuery, } from './hooks/useGetTargetNetworkMapQuery';
93
94
  export { getV2InfrastructureYaml, useGetV2InfrastructureYamlMutation, } from './hooks/useGetV2InfrastructureYamlMutation';
94
95
  export { getV2Onboarding, useGetV2OnboardingQuery } from './hooks/useGetV2OnboardingQuery';
96
+ export { healthCheckV3, useHealthCheckV3Query } from './hooks/useHealthCheckV3Query';
95
97
  export { importAction, useImportActionMutation } from './hooks/useImportActionMutation';
96
98
  export { importProbe, useImportProbeMutation } from './hooks/useImportProbeMutation';
97
99
  export { listActionTemplate, useListActionTemplateQuery } from './hooks/useListActionTemplateQuery';
@@ -1,6 +1,7 @@
1
1
  import type { TemplateVariable } from '../schemas/TemplateVariable';
2
2
  export interface ChaosfaulttemplateFaultTemplateVariables {
3
3
  correlationID?: string;
4
+ faultAuthentication?: TemplateVariable[];
4
5
  faultTargets?: TemplateVariable[];
5
6
  faultTunable?: TemplateVariable[];
6
7
  variables?: TemplateVariable[];
@@ -1,7 +1,7 @@
1
- import type { ChaosserviceusageServiceStatsByType } from '../schemas/ChaosserviceusageServiceStatsByType';
1
+ import type { ChaosserviceusageStatsByType } from '../schemas/ChaosserviceusageStatsByType';
2
2
  export interface ChaosserviceusageOverallServiceUsageStats {
3
3
  accountID?: string;
4
- licenseServiceMapping?: ChaosserviceusageServiceStatsByType;
5
- serviceStats?: ChaosserviceusageServiceStatsByType;
4
+ licenseServiceMapping?: ChaosserviceusageStatsByType;
5
+ serviceStats?: ChaosserviceusageStatsByType;
6
6
  totalUsage?: number;
7
7
  }
@@ -1,6 +1,8 @@
1
- import type { ChaosserviceusageServiceStatsByType } from '../schemas/ChaosserviceusageServiceStatsByType';
1
+ import type { ChaosserviceusageStatsByType } from '../schemas/ChaosserviceusageStatsByType';
2
2
  export interface ChaosserviceusagePeriodicStats {
3
- serviceStatsByType?: ChaosserviceusageServiceStatsByType;
3
+ experimentStatsByType?: ChaosserviceusageStatsByType;
4
+ serviceStatsByType?: ChaosserviceusageStatsByType;
4
5
  timestamp?: number;
5
6
  totalConsumption?: number;
7
+ totalExperimentRunsConsumption?: number;
6
8
  }
@@ -1,4 +1,4 @@
1
- export interface ChaosserviceusageServiceStatsByType {
1
+ export interface ChaosserviceusageStatsByType {
2
2
  'Cloud Resources'?: number;
3
3
  'Container Services'?: number;
4
4
  Kubernetes?: number;
@@ -1,5 +1,6 @@
1
1
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
2
2
  export interface ExperimenttemplateFault {
3
+ authEnabled?: boolean;
3
4
  identity?: string;
4
5
  infraId?: string;
5
6
  isEnterprise?: boolean;
@@ -0,0 +1,6 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs {
3
+ projectID?: string;
4
+ query?: string;
5
+ serviceAccountKey?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager';
2
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs {
3
+ projectID?: string;
4
+ query?: string;
5
+ serviceAccountKey?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface HealthHealthCheckResponse {
2
+ correlationId?: string;
3
+ status?: 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,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparator } from '../schemas/ProbeComparator';
3
3
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs';
4
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs';
4
5
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeNewRelicProbeInputs';
5
6
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
6
7
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
@@ -9,6 +10,7 @@ export interface ProbeApmProbe {
9
10
  attempt?: {};
10
11
  comparator?: ProbeComparator;
11
12
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs;
13
+ gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGcpCloudMonitoringProbeInputs;
12
14
  initialDelay?: string;
13
15
  initialDelaySeconds?: {};
14
16
  interval?: string;
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
3
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
4
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs';
4
5
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs';
5
6
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
6
7
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
@@ -9,6 +10,7 @@ export interface ProbeApmProbeTemplate {
9
10
  appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
10
11
  comparator?: ProbeComparatorTemplate;
11
12
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
13
+ gcpCloudMonitoringProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGcpCloudMonitoringProbeInputs;
12
14
  newRelicProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeNewRelicProbeInputs;
13
15
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
14
16
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
2
+ Format?: string;
3
3
  }
@@ -0,0 +1,5 @@
1
+ export interface SharedError {
2
+ code?: number;
3
+ correlationID?: string;
4
+ message?: 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,6 +1,7 @@
1
1
  import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
2
2
  import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
3
3
  import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
4
+ import type { V1GcpCloudMonitoringInputs } from '../schemas/V1GcpCloudMonitoringInputs';
4
5
  import type { V1NewRelicInputs } from '../schemas/V1NewRelicInputs';
5
6
  import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
6
7
  import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
@@ -17,6 +18,10 @@ export interface V1ApmProbeInputs {
17
18
  * DynatraceApmProbeInputs contains the inputs required for Dynatrace probe
18
19
  */
19
20
  dynatraceApmProbeInputs?: V1DynatraceApmProbeInputs;
21
+ /**
22
+ * GcpCloudMonitoringInputs contains the inputs required for GCP Cloud Monitoring probe
23
+ */
24
+ gcpCloudMonitoringInputs?: V1GcpCloudMonitoringInputs;
20
25
  /**
21
26
  * NewRelicInputs contains the inputs required for NewRelic probe
22
27
  */
@@ -0,0 +1,11 @@
1
+ export interface V1GcpCloudMonitoringInputs {
2
+ /**
3
+ * ProjectID for the GCP
4
+ */
5
+ projectID?: string;
6
+ /**
7
+ * PromQL of the GCP Cloud Monitoring probe
8
+ */
9
+ query?: string;
10
+ serviceAccountKey?: string;
11
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.24.0",
3
+ "version": "1.26.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",