@harnessio/react-har-service-client 0.7.0 → 0.9.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.
@@ -127,6 +127,7 @@ export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
127
127
  export type { ClientSetupSection } from './schemas/ClientSetupSection';
128
128
  export type { ClientSetupStep } from './schemas/ClientSetupStep';
129
129
  export type { ClientSetupStepCommand } from './schemas/ClientSetupStepCommand';
130
+ export type { ClientSetupStepConfig } from './schemas/ClientSetupStepConfig';
130
131
  export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
131
132
  export type { DeploymentDetails } from './schemas/DeploymentDetails';
132
133
  export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
@@ -164,11 +165,14 @@ export type { RegistryRequest } from './schemas/RegistryRequest';
164
165
  export type { RegistryType } from './schemas/RegistryType';
165
166
  export type { SbomDetails } from './schemas/SbomDetails';
166
167
  export type { Scanner } from './schemas/Scanner';
168
+ export type { SectionType } from './schemas/SectionType';
167
169
  export type { SlsaDetails } from './schemas/SlsaDetails';
168
170
  export type { Status } from './schemas/Status';
169
171
  export type { StoDetails } from './schemas/StoDetails';
170
172
  export type { StoDigestMetadata } from './schemas/StoDigestMetadata';
171
173
  export type { StoMetadata } from './schemas/StoMetadata';
174
+ export type { TabSetupStep } from './schemas/TabSetupStep';
175
+ export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
172
176
  export type { Trigger } from './schemas/Trigger';
173
177
  export type { UpstreamConfig } from './schemas/UpstreamConfig';
174
178
  export type { UserPassword } from './schemas/UserPassword';
@@ -1,8 +1,11 @@
1
- import type { ClientSetupStep } from '../schemas/ClientSetupStep';
1
+ import type { ClientSetupStepConfig } from '../schemas/ClientSetupStepConfig';
2
+ import type { TabSetupStepConfig } from '../schemas/TabSetupStepConfig';
3
+ import type { SectionType } from '../schemas/SectionType';
2
4
  /**
3
5
  * Client Setup Section
4
6
  */
5
- export interface ClientSetupSection {
7
+ export type ClientSetupSection = (ClientSetupStepConfig | TabSetupStepConfig) & {
6
8
  header?: string;
7
- steps?: ClientSetupStep[];
8
- }
9
+ secHeader?: string;
10
+ type: SectionType;
11
+ };
@@ -0,0 +1,7 @@
1
+ import type { ClientSetupStep } from '../schemas/ClientSetupStep';
2
+ /**
3
+ * Client Setup Step
4
+ */
5
+ export interface ClientSetupStepConfig {
6
+ steps?: ClientSetupStep[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * refers to client setup section type
3
+ */
4
+ export type SectionType = 'INLINE' | 'TABS';
@@ -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,8 @@
1
+ import type { ClientSetupSection } from '../schemas/ClientSetupSection';
2
+ /**
3
+ * Tab Setup step
4
+ */
5
+ export interface TabSetupStep {
6
+ header?: string;
7
+ sections?: ClientSetupSection[];
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { TabSetupStep } from '../schemas/TabSetupStep';
2
+ /**
3
+ * Tab Setup step config
4
+ */
5
+ export interface TabSetupStepConfig {
6
+ tabs?: TabSetupStep[];
7
+ }
@@ -15,6 +15,7 @@ export interface Webhook {
15
15
  extraHeaders?: ExtraHeader[];
16
16
  identifier: string;
17
17
  insecure: boolean;
18
+ internal?: boolean;
18
19
  latestExecutionResult?: WebhookExecResult;
19
20
  modifiedAt?: string;
20
21
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",