@harnessio/react-rmg-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.
@@ -357,6 +357,7 @@ export type { UploadResponse } from './schemas/UploadResponse';
357
357
  export type { User } from './schemas/User';
358
358
  export type { WebhookErrorResponse } from './schemas/WebhookErrorResponse';
359
359
  export type { WebhookEventType } from './schemas/WebhookEventType';
360
+ export type { WebhookSignalPipeline } from './schemas/WebhookSignalPipeline';
360
361
  export type { WebhookSignalRequest } from './schemas/WebhookSignalRequest';
361
362
  export type { WebhookSignalResponse } from './schemas/WebhookSignalResponse';
362
363
  export type { WebhookSignalStatus } from './schemas/WebhookSignalStatus';
@@ -4,6 +4,10 @@ import type { ReleaseApprovalType } from '../schemas/ReleaseApprovalType';
4
4
  export interface ReleaseApprovalDto {
5
5
  approvalInfo?: ApprovalInfoDto;
6
6
  name: string;
7
+ /**
8
+ * Node execution ID of the approval step
9
+ */
10
+ nodeExecutionId?: string;
7
11
  orgIdentifier: string;
8
12
  pipelineIdentifier: string;
9
13
  planExecutionId: string;
@@ -0,0 +1,18 @@
1
+ export interface WebhookSignalPipeline {
2
+ /**
3
+ * Pipeline execution identifier.
4
+ */
5
+ executionId: string;
6
+ /**
7
+ * Pipeline identifier.
8
+ */
9
+ identifier: string;
10
+ /**
11
+ * Organization identifier.
12
+ */
13
+ orgId: string;
14
+ /**
15
+ * Project identifier.
16
+ */
17
+ projectId: string;
18
+ }
@@ -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,10 +1,12 @@
1
1
  import type { WebhookEventType } from '../schemas/WebhookEventType';
2
+ import type { WebhookSignalPipeline } from '../schemas/WebhookSignalPipeline';
2
3
  export interface WebhookSignalRequest {
3
4
  eventType: WebhookEventType;
4
5
  /**
5
- * Event-specific payload (validated per event type). Maximum size 1 MiB.
6
+ * Event metadata. Maximum size 10 KiB.
6
7
  */
7
- payload: {
8
+ metadata: {
8
9
  [key: string]: any;
9
10
  };
11
+ pipeline?: WebhookSignalPipeline;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",