@harnessio/react-har-service-client 0.63.0 → 0.64.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.
@@ -593,6 +593,8 @@ export type { TypesSaveLabelInput } from './schemas/TypesSaveLabelInput';
593
593
  export type { TypesSaveLabelValueInput } from './schemas/TypesSaveLabelValueInput';
594
594
  export type { UpstreamConfig } from './schemas/UpstreamConfig';
595
595
  export type { UpstreamProxyConfigFirewallMode } from './schemas/UpstreamProxyConfigFirewallMode';
596
+ export type { UserInfo } from './schemas/UserInfo';
597
+ export type { UserInfoV3 } from './schemas/UserInfoV3';
596
598
  export type { UserPassword } from './schemas/UserPassword';
597
599
  export type { UsererrorError } from './schemas/UsererrorError';
598
600
  export type { VersionMetadata } from './schemas/VersionMetadata';
@@ -15,6 +15,7 @@ import type { ComposerArtifactDetailConfig } from '../schemas/ComposerArtifactDe
15
15
  import type { SwiftArtifactDetailConfig } from '../schemas/SwiftArtifactDetailConfig';
16
16
  import type { PuppetArtifactDetailConfig } from '../schemas/PuppetArtifactDetailConfig';
17
17
  import type { ArtifactType } from '../schemas/ArtifactType';
18
+ import type { UserInfo } from '../schemas/UserInfo';
18
19
  import type { PackageType } from '../schemas/PackageType';
19
20
  /**
20
21
  * Artifact Detail
@@ -25,7 +26,7 @@ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailCon
25
26
  };
26
27
  artifactType?: ArtifactType;
27
28
  createdAt?: string;
28
- createdBy?: string;
29
+ createdBy?: UserInfo;
29
30
  /**
30
31
  * Timestamp in milliseconds when the registry was soft-deleted
31
32
  */
@@ -1,5 +1,6 @@
1
1
  import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata';
2
2
  import type { PackageType } from '../schemas/PackageType';
3
+ import type { UserInfo } from '../schemas/UserInfo';
3
4
  /**
4
5
  * Docker Artifact Detail
5
6
  */
@@ -16,6 +17,7 @@ export interface DockerArtifactDetail {
16
17
  packageType: PackageType;
17
18
  pullCommand?: string;
18
19
  pullCommandByDigest?: string;
20
+ pushedBy?: UserInfo;
19
21
  quarantineReason?: string;
20
22
  registryPath: string;
21
23
  size?: string;
@@ -1,3 +1,4 @@
1
+ import type { UserInfoV3 } from '../schemas/UserInfoV3';
1
2
  import type { FirewallExceptionStatusV3 } from '../schemas/FirewallExceptionStatusV3';
2
3
  /**
3
4
  * Firewall exception details
@@ -12,11 +13,7 @@ export interface FirewallExceptionResponseV3 {
12
13
  * @format int64
13
14
  */
14
15
  createdAt: number;
15
- /**
16
- * User ID who created the exception
17
- * @format int64
18
- */
19
- createdBy: number;
16
+ createdBy: UserInfoV3;
20
17
  /**
21
18
  * Unique identifier for the exception
22
19
  * @format uuid
@@ -62,21 +59,13 @@ export interface FirewallExceptionResponseV3 {
62
59
  * @format int64
63
60
  */
64
61
  statusChangedAt?: number | null;
65
- /**
66
- * User ID who changed the status
67
- * @format int64
68
- */
69
- statusChangedBy?: number | null;
62
+ statusChangedBy?: UserInfoV3;
70
63
  /**
71
64
  * Unix timestamp (milliseconds) when last updated
72
65
  * @format int64
73
66
  */
74
67
  updatedAt: number;
75
- /**
76
- * User ID who last updated
77
- * @format int64
78
- */
79
- updatedBy: number;
68
+ updatedBy: UserInfoV3;
80
69
  /**
81
70
  * Version identifier
82
71
  */
@@ -1,5 +1,6 @@
1
1
  import type { LifecycleRuleActionV3 } from '../schemas/LifecycleRuleActionV3';
2
2
  import type { LifecycleRuleApplyToV3 } from '../schemas/LifecycleRuleApplyToV3';
3
+ import type { UserInfoV3 } from '../schemas/UserInfoV3';
3
4
  import type { LifecycleRuleCriteriaV3 } from '../schemas/LifecycleRuleCriteriaV3';
4
5
  import type { LifecycleRuleFilterConfigV3 } from '../schemas/LifecycleRuleFilterConfigV3';
5
6
  import type { OrgIdentifier } from '../schemas/OrgIdentifier';
@@ -12,10 +13,7 @@ export interface LifecycleRuleResponseV3<T0 extends LifecycleRuleFilterConfigV3
12
13
  * @format int64
13
14
  */
14
15
  createdAt?: number;
15
- /**
16
- * @format int64
17
- */
18
- createdBy?: number;
16
+ createdBy?: UserInfoV3;
19
17
  criteria?: LifecycleRuleCriteriaV3;
20
18
  description?: string;
21
19
  /**
@@ -43,8 +41,5 @@ export interface LifecycleRuleResponseV3<T0 extends LifecycleRuleFilterConfigV3
43
41
  * @format int64
44
42
  */
45
43
  updatedAt?: number;
46
- /**
47
- * @format int64
48
- */
49
- updatedBy?: number;
44
+ updatedBy?: UserInfoV3;
50
45
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Structured user information for a principal
3
+ */
4
+ export interface UserInfo {
5
+ /**
6
+ * Human-readable display name
7
+ */
8
+ display_name?: string;
9
+ /**
10
+ * Email address
11
+ */
12
+ email?: string;
13
+ /**
14
+ * Principal type (user, service, service_account)
15
+ */
16
+ type?: string;
17
+ /**
18
+ * Principal unique identifier (username)
19
+ */
20
+ uid?: string;
21
+ }
@@ -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,21 @@
1
+ /**
2
+ * Structured user information for a principal
3
+ */
4
+ export interface UserInfoV3 {
5
+ /**
6
+ * Human-readable display name
7
+ */
8
+ display_name?: string;
9
+ /**
10
+ * Email address
11
+ */
12
+ email?: string;
13
+ /**
14
+ * Principal type (user, service, service_account)
15
+ */
16
+ type?: string;
17
+ /**
18
+ * Principal unique identifier (username)
19
+ */
20
+ uid?: string;
21
+ }
@@ -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 {};
@@ -5,6 +5,7 @@ import type { ResourceMetadataV3 } from '../schemas/ResourceMetadataV3';
5
5
  import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
6
6
  import type { PackageKindV3 } from '../schemas/PackageKindV3';
7
7
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
8
+ import type { UserInfoV3 } from '../schemas/UserInfoV3';
8
9
  import type { RegistryTypeV3 } from '../schemas/RegistryTypeV3';
9
10
  import type { ScanStatusV3 } from '../schemas/ScanStatusV3';
10
11
  /**
@@ -39,6 +40,7 @@ export interface VersionV3 {
39
40
  packageName: string;
40
41
  packageType: PackageTypeV3;
41
42
  pullCommand?: string;
43
+ pushedBy?: UserInfoV3;
42
44
  quarantineReason?: string;
43
45
  /**
44
46
  * @format uuid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",