@harnessio/react-rmg-service-client 0.53.0 → 0.55.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.
- package/dist/rmg-service/src/services/hooks/usePostReleaseSummaryMutation.d.ts +2 -2
- package/dist/rmg-service/src/services/index.d.ts +2 -0
- package/dist/rmg-service/src/services/requestBodies/ReleaseSummaryRequestRequestBody.d.ts +5 -0
- package/dist/rmg-service/src/services/schemas/ReleaseCadence.d.ts +7 -1
- package/dist/rmg-service/src/services/schemas/ScopeFilterDto.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/ScopeFilterDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/Weekday.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/Weekday.js +4 -0
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ import type { ReleaseSummaryRequestRequestBody } from '../requestBodies/ReleaseS
|
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface PostReleaseSummaryMutationQueryParams {
|
|
8
|
-
orgIdentifier?: string;
|
|
9
|
-
projectIdentifier?: string;
|
|
10
8
|
searchTerm?: string;
|
|
11
9
|
releaseGroupIds?: string[];
|
|
12
10
|
type?: 'Orchestration' | 'Tracking';
|
|
11
|
+
source?: 'ADHOC' | 'RECURRING';
|
|
12
|
+
status?: Array<'Aborted' | 'Failed' | 'InputWaiting' | 'Paused' | 'Running' | 'Scheduled' | 'Success'>;
|
|
13
13
|
}
|
|
14
14
|
export interface PostReleaseSummaryMutationHeaderParams {
|
|
15
15
|
'Harness-Account': string;
|
|
@@ -305,6 +305,7 @@ export type { RepeatUnit } from './schemas/RepeatUnit';
|
|
|
305
305
|
export type { ReportGenerationRequest } from './schemas/ReportGenerationRequest';
|
|
306
306
|
export type { ReportGenerationResponse } from './schemas/ReportGenerationResponse';
|
|
307
307
|
export type { ReportStatusResponse } from './schemas/ReportStatusResponse';
|
|
308
|
+
export type { ScopeFilterDto } from './schemas/ScopeFilterDto';
|
|
308
309
|
export type { ServiceInfoDto } from './schemas/ServiceInfoDto';
|
|
309
310
|
export type { ServiceInputVariable } from './schemas/ServiceInputVariable';
|
|
310
311
|
export type { ServiceMetadata } from './schemas/ServiceMetadata';
|
|
@@ -327,3 +328,4 @@ export type { TimeRangeDto } from './schemas/TimeRangeDto';
|
|
|
327
328
|
export type { TriggerType } from './schemas/TriggerType';
|
|
328
329
|
export type { TriggeredByDto } from './schemas/TriggeredByDto';
|
|
329
330
|
export type { User } from './schemas/User';
|
|
331
|
+
export type { Weekday } from './schemas/Weekday';
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import type { ScopeFilterDto } from '../schemas/ScopeFilterDto';
|
|
1
2
|
import type { TimeRangeDto } from '../schemas/TimeRangeDto';
|
|
2
3
|
export interface ReleaseSummaryRequestRequestBody {
|
|
4
|
+
/**
|
|
5
|
+
* Optional array of scope filters for hierarchical filtering (account/org/project levels)
|
|
6
|
+
*/
|
|
7
|
+
scopes?: ScopeFilterDto[];
|
|
3
8
|
timeRanges?: TimeRangeDto[];
|
|
4
9
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReleaseFrequency } from '../schemas/ReleaseFrequency';
|
|
2
2
|
import type { Freq } from '../schemas/Freq';
|
|
3
|
+
import type { Weekday } from '../schemas/Weekday';
|
|
3
4
|
export interface ReleaseCadence {
|
|
4
5
|
/**
|
|
5
6
|
* duration for the release cadence.
|
|
@@ -17,9 +18,14 @@ export interface ReleaseCadence {
|
|
|
17
18
|
*/
|
|
18
19
|
interval: number;
|
|
19
20
|
/**
|
|
20
|
-
* weekday
|
|
21
|
+
* Single weekday (e.g. '1MO'). Deprecated: use weekdays instead.
|
|
22
|
+
* @deprecated
|
|
21
23
|
*/
|
|
22
24
|
weekday?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Multiple weekdays for the custom cadence (e.g. [MO, TU, WE, TH]).
|
|
27
|
+
*/
|
|
28
|
+
weekdays?: Weekday[];
|
|
23
29
|
};
|
|
24
30
|
/**
|
|
25
31
|
* Start date of the release cadence (YYYY-MM-DD).
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hierarchical scope filter for account/org/project levels
|
|
3
|
+
*/
|
|
4
|
+
export interface ScopeFilterDto {
|
|
5
|
+
/**
|
|
6
|
+
* Optional organization identifier. If omitted, filters at account level.
|
|
7
|
+
*/
|
|
8
|
+
orgIdentifier?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Optional project identifier. If omitted (with org present), filters at org level.
|
|
11
|
+
*/
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
}
|