@harnessio/react-chaos-manager-client 1.35.0 → 1.36.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.
@@ -540,6 +540,7 @@ export type { ChaosserviceusageServiceDataResponse } from './schemas/Chaosservic
540
540
  export type { ChaosserviceusageServiceType } from './schemas/ChaosserviceusageServiceType';
541
541
  export type { ChaosserviceusageStatsByType } from './schemas/ChaosserviceusageStatsByType';
542
542
  export type { ChaosserviceusageUsageStats } from './schemas/ChaosserviceusageUsageStats';
543
+ export type { CommonImportType } from './schemas/CommonImportType';
543
544
  export type { CommonTypesExperimentRunStats } from './schemas/CommonTypesExperimentRunStats';
544
545
  export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperimentRunsData';
545
546
  export type { DatabaseAgentConfiguration } from './schemas/DatabaseAgentConfiguration';
@@ -618,6 +619,7 @@ export type { ExperimenttemplateVertex } from './schemas/ExperimenttemplateVerte
618
619
  export type { ExperimenttemplateVertexChild } from './schemas/ExperimenttemplateVertexChild';
619
620
  export type { ExperimenttemplateVertexResource } from './schemas/ExperimenttemplateVertexResource';
620
621
  export type { FaultLink } from './schemas/FaultLink';
622
+ export type { FaultTemplateReference } from './schemas/FaultTemplateReference';
621
623
  export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
622
624
  export type { FaulttemplateAuth } from './schemas/FaulttemplateAuth';
623
625
  export type { FaulttemplateAwsAuth } from './schemas/FaulttemplateAwsAuth';
@@ -1,4 +1,5 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
+ import type { MongodbImportType } from '../schemas/MongodbImportType';
2
3
  import type { ChaosfaultLink } from '../schemas/ChaosfaultLink';
3
4
  import type { TemplateVariable } from '../schemas/TemplateVariable';
4
5
  export interface ChaosfaultChaosFault {
@@ -17,6 +18,7 @@ export interface ChaosfaultChaosFault {
17
18
  * Unique identifier (human-readable) immutable
18
19
  */
19
20
  identity: string;
21
+ importType?: MongodbImportType;
20
22
  infraType?: string;
21
23
  infras?: string[];
22
24
  isEnterprise?: boolean;
@@ -28,6 +30,9 @@ export interface ChaosfaultChaosFault {
28
30
  projectID?: string;
29
31
  tags?: string[];
30
32
  template?: string;
33
+ templateReference?: string;
34
+ templateRevision?: string;
35
+ templateUid?: string;
31
36
  type?: string;
32
37
  updatedAt?: number;
33
38
  updatedBy?: string;
@@ -1,5 +1,7 @@
1
+ import type { CommonImportType } from '../schemas/CommonImportType';
1
2
  import type { FaultLink } from '../schemas/FaultLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
3
5
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
7
  export interface ChaosfaultCreateFaultRequest {
@@ -7,6 +9,7 @@ export interface ChaosfaultCreateFaultRequest {
7
9
  category?: string[];
8
10
  description?: string;
9
11
  identity: string;
12
+ importType?: CommonImportType;
10
13
  infraType?: string;
11
14
  infras?: string[];
12
15
  kind?: string;
@@ -15,7 +18,7 @@ export interface ChaosfaultCreateFaultRequest {
15
18
  permissionsRequired?: string;
16
19
  spec?: FaulttemplateSpec;
17
20
  tags?: string[];
18
- templateReference?: string;
21
+ templateReference?: FaultTemplateReference;
19
22
  type?: string;
20
23
  updatedAt?: number;
21
24
  values?: TemplateVariableMinimum[];
@@ -1,5 +1,7 @@
1
+ import type { CommonImportType } from '../schemas/CommonImportType';
1
2
  import type { FaultLink } from '../schemas/FaultLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
3
5
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
7
  export interface ChaosfaultCreateFaultResponse {
@@ -8,6 +10,7 @@ export interface ChaosfaultCreateFaultResponse {
8
10
  correlationID?: string;
9
11
  description?: string;
10
12
  identity: string;
13
+ importType?: CommonImportType;
11
14
  infraType?: string;
12
15
  infras?: string[];
13
16
  kind?: string;
@@ -16,7 +19,7 @@ export interface ChaosfaultCreateFaultResponse {
16
19
  permissionsRequired?: string;
17
20
  spec?: FaulttemplateSpec;
18
21
  tags?: string[];
19
- templateReference?: string;
22
+ templateReference?: FaultTemplateReference;
20
23
  type?: string;
21
24
  updatedAt?: number;
22
25
  values?: TemplateVariableMinimum[];
@@ -1,5 +1,7 @@
1
+ import type { CommonImportType } from '../schemas/CommonImportType';
1
2
  import type { FaultLink } from '../schemas/FaultLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
3
5
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
7
  export interface ChaosfaultGetFaultResponse {
@@ -8,6 +10,7 @@ export interface ChaosfaultGetFaultResponse {
8
10
  correlationID?: string;
9
11
  description?: string;
10
12
  identity: string;
13
+ importType?: CommonImportType;
11
14
  infraType?: string;
12
15
  infras?: string[];
13
16
  isEnterprise?: boolean;
@@ -17,7 +20,7 @@ export interface ChaosfaultGetFaultResponse {
17
20
  permissionsRequired?: string;
18
21
  spec?: FaulttemplateSpec;
19
22
  tags?: string[];
20
- templateReference?: string;
23
+ templateReference?: FaultTemplateReference;
21
24
  type?: string;
22
25
  updatedAt?: number;
23
26
  values?: TemplateVariableMinimum[];
@@ -1,5 +1,7 @@
1
+ import type { CommonImportType } from '../schemas/CommonImportType';
1
2
  import type { FaultLink } from '../schemas/FaultLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
3
5
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
7
  export interface ChaosfaultUpdateFaultRequest {
@@ -7,6 +9,7 @@ export interface ChaosfaultUpdateFaultRequest {
7
9
  category?: string[];
8
10
  description?: string;
9
11
  identity: string;
12
+ importType?: CommonImportType;
10
13
  infraType?: string;
11
14
  infras?: string[];
12
15
  kind?: string;
@@ -15,7 +18,7 @@ export interface ChaosfaultUpdateFaultRequest {
15
18
  permissionsRequired?: string;
16
19
  spec?: FaulttemplateSpec;
17
20
  tags?: string[];
18
- templateReference?: string;
21
+ templateReference?: FaultTemplateReference;
19
22
  type?: string;
20
23
  updatedAt?: number;
21
24
  values?: TemplateVariableMinimum[];
@@ -1,5 +1,7 @@
1
+ import type { CommonImportType } from '../schemas/CommonImportType';
1
2
  import type { FaultLink } from '../schemas/FaultLink';
2
3
  import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
4
+ import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
3
5
  import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
6
  import type { TemplateVariable } from '../schemas/TemplateVariable';
5
7
  export interface ChaosfaultUpdateFaultResponse {
@@ -8,6 +10,7 @@ export interface ChaosfaultUpdateFaultResponse {
8
10
  correlationID?: string;
9
11
  description?: string;
10
12
  identity: string;
13
+ importType?: CommonImportType;
11
14
  infraType?: string;
12
15
  infras?: string[];
13
16
  kind?: string;
@@ -16,7 +19,7 @@ export interface ChaosfaultUpdateFaultResponse {
16
19
  permissionsRequired?: string;
17
20
  spec?: FaulttemplateSpec;
18
21
  tags?: string[];
19
- templateReference?: string;
22
+ templateReference?: FaultTemplateReference;
20
23
  type?: string;
21
24
  updatedAt?: number;
22
25
  values?: TemplateVariableMinimum[];
@@ -33,8 +33,6 @@ export interface ChaosfaulttemplateChaosFaultTemplate {
33
33
  revision?: string;
34
34
  tags?: string[];
35
35
  template?: string;
36
- templateUid?: string;
37
- templateUidWithRevision?: string;
38
36
  type?: string;
39
37
  updatedAt?: number;
40
38
  updatedBy?: string;
@@ -0,0 +1 @@
1
+ export type CommonImportType = 'LOCAL' | 'REFERENCE';
@@ -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 FaultTemplateReference {
2
+ hubIdentity?: string;
3
+ identity?: string;
4
+ organizationIdentifier?: string;
5
+ projectIdentifier?: string;
6
+ revision?: 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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.35.0",
3
+ "version": "1.36.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",